diff options
Diffstat (limited to 'comms/xisp/patches/patch-ab')
-rw-r--r-- | comms/xisp/patches/patch-ab | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/comms/xisp/patches/patch-ab b/comms/xisp/patches/patch-ab new file mode 100644 index 00000000000..84161272e80 --- /dev/null +++ b/comms/xisp/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.3 2006/02/22 16:13:48 joerg Exp $ + +--- network.c.orig 2006-02-22 16:05:33.000000000 +0000 ++++ network.c +@@ -89,7 +89,7 @@ char *IFAddr(char *IFName, int dest) + #define AddrOpen popen("/usr/ucb/netstat -nr", "r") + #define AddrScanf sscanf(routeLine, "%*s %*s %*s %*s %*s %s", IF) + #define AddrClose while (fgets(routeLine,128,infofp) != NULL); pclose(infofp) +-#elif defined(SUNOS5x) || defined(__FreeBSD__) ++#elif defined(SUNOS5x) || defined(__FreeBSD__) || defined(__DragonFly__) + #define AddrOpen popen("/usr/bin/netstat -nr", "r") + #define AddrScanf sscanf(routeLine, "%*s %*s %*s %*s %*s %s", IF) + #define AddrClose while (fgets(routeLine,128,infofp) != NULL); pclose(infofp) |