opnsense-ports/net/pvm/files/patch-src_host.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

13 lines
402 B
C

--- src/host.c Wed Sep 26 19:35:18 2001
+++ src/host.c Thu Oct 31 13:57:18 2002
@@ -992,9 +992,7 @@
perror("ioctl");
goto bail;
}
- /* On some FreeBSD systems: */
- /* if (IFF_UP & req.ifr_flags) { */
- 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++] =