From 4a9890a7305ecd4e15e9627df71ce5b0ef62048c Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Fri, 2 Jan 2015 16:55:26 +0000 Subject: Remove portions of patch relying upon faith(4) that are no longer necessary. PR: 195002 Submitted by: Stanislaw Halik (maintainer) Patch by: Ben Woods Approved by: maintainer --- dns/noip/files/patch-noip2.c | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'dns/noip/files/patch-noip2.c') diff --git a/dns/noip/files/patch-noip2.c b/dns/noip/files/patch-noip2.c index f8f70e4b5c8b..9d020076fadc 100644 --- a/dns/noip/files/patch-noip2.c +++ b/dns/noip/files/patch-noip2.c @@ -27,28 +27,3 @@ fprintf(stderr, "Options: -C create configuration data\n"); fprintf(stderr, " -F force NAT off\n"); fprintf(stderr, " -Y select all hosts/groups\n"); -@@ -2316,17 +2316,14 @@ - dq = (unsigned char *)devs; // point at name list - for (ifa = ifap; ifa; ifa = ifa->ifa_next) { - if (ifa->ifa_addr->sa_family == AF_LINK) { --// FreeBSD doesn't define some of these! --#ifdef IFT_PFLOG - struct if_data *ifd = (struct if_data *) ifa->ifa_data; -- if (ifd->ifi_type == IFT_PFLOG -- || ifd->ifi_type == IFT_PFSYNC -- || ifd->ifi_type == IFT_ENC -- || ifd->ifi_type == IFT_BRIDGE -- || ifd->ifi_type == IFT_OTHER -- || ifd->ifi_type == IFT_GIF) -- continue; --#endif -+ -+ if (ifd->ifi_type == IFT_OTHER -+ || ifd->ifi_type == IFT_GIF -+ || ifd->ifi_type == IFT_LOOP -+ || ifd->ifi_type == IFT_FAITH) -+ continue; -+ - q = dq; // add new name into list - p = ifa->ifa_name; - devnum++; -- cgit v1.2.3