summaryrefslogtreecommitdiffstats
path: root/net/pvm
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-11-27 01:35:19 +0000
committersteve <steve@FreeBSD.org>1999-11-27 01:35:19 +0000
commit0eede4784309008b5791b7fbcf6882be1259f879 (patch)
tree51ad0f4dc98939c65a9117de60bba3c0686feecf /net/pvm
parent1b8a422016b120fae5518beadde7488f515581bc (diff)
downloadFreeBSD-ports-0eede4784309008b5791b7fbcf6882be1259f879.zip
FreeBSD-ports-0eede4784309008b5791b7fbcf6882be1259f879.tar.gz
Use ifreq.ifr_flags instead of ifreq.ifru.ifru_flags so this build on both
-current and -stable.
Diffstat (limited to 'net/pvm')
-rw-r--r--net/pvm/files/patch-ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/pvm/files/patch-ac b/net/pvm/files/patch-ac
new file mode 100644
index 0000000..a9d524a
--- /dev/null
+++ b/net/pvm/files/patch-ac
@@ -0,0 +1,11 @@
+--- src/host.c.orig Fri Nov 26 17:28:41 1999
++++ src/host.c Fri Nov 26 17:28:54 1999
+@@ -939,7 +939,7 @@
+ perror("ioctl");
+ goto bail;
+ }
+- if (IFF_UP & req.ifr_ifru.ifru_flags) {
++ if (IFF_UP & req.ifr_flags) {
+ if (nip > 0 && !(nip % 10))
+ iplist = TREALLOC(iplist, (nip + 10), struct in_addr);
+ iplist[nip++] =
OpenPOWER on IntegriCloud