mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
- Unbreak build on 9.0
PR: 162901 Submitted by: maintainer Feature safe: yes
This commit is contained in:
parent
5d57d97db9
commit
e9f079c5d4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286478
@ -8,7 +8,7 @@
|
||||
|
||||
PORTNAME= openafs
|
||||
DISTVERSION= ${AFS_DISTVERSION}.${DBVERSION:S/-//g}
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net kld
|
||||
MASTER_SITES= http://dl.central.org/dl/openafs/${AFS_DISTVERSION}/:openafs \
|
||||
http://dl.openafs.org/dl/openafs/${AFS_DISTVERSION}/:openafs \
|
||||
|
13
net/openafs/files/patch-src__afs__afs_server.c
Normal file
13
net/openafs/files/patch-src__afs__afs_server.c
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/src/afs/afs_server.c b/src/afs/afs_server.c
|
||||
index ad28100..cafd355 100644
|
||||
--- a/src/afs/afs_server.c
|
||||
+++ b/src/afs/afs_server.c
|
||||
@@ -1032,7 +1032,7 @@ afsi_SetServerIPRank(struct srvAddr *sa, struct in_ifaddr *ifa)
|
||||
struct sockaddr_in *sin;
|
||||
int t;
|
||||
|
||||
- if ((ntohl(sa->sa_ip) & ifa->ia_netmask) == ifa->ia_net) {
|
||||
+ if (1) {
|
||||
if ((ntohl(sa->sa_ip) & ifa->ia_subnetmask) == ifa->ia_subnet) {
|
||||
sin = IA_SIN(ifa);
|
||||
if (SA2ULONG(sin) == ntohl(sa->sa_ip)) { /* ie, ME!!! */
|
Loading…
Reference in New Issue
Block a user