aboutsummaryrefslogtreecommitdiff
path: root/net/openafs/files
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-11-27 08:42:19 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-11-27 08:42:19 +0000
commite9f079c5d4f03c463e43d4a3e2a4d8b1ebac1d54 (patch)
treef99579a7855dc0495a1c646449496c7601cb182d /net/openafs/files
parent5d57d97db9a37dcb229b79d5e3ea46fd617b3cb4 (diff)
downloadports-e9f079c5d4f03c463e43d4a3e2a4d8b1ebac1d54.tar.gz
ports-e9f079c5d4f03c463e43d4a3e2a4d8b1ebac1d54.zip
Notes
Diffstat (limited to 'net/openafs/files')
-rw-r--r--net/openafs/files/patch-src__afs__afs_server.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/openafs/files/patch-src__afs__afs_server.c b/net/openafs/files/patch-src__afs__afs_server.c
new file mode 100644
index 000000000000..ec52e26b24d7
--- /dev/null
+++ b/net/openafs/files/patch-src__afs__afs_server.c
@@ -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!!! */