summaryrefslogtreecommitdiff
path: root/dns/noip/files/patch-noip2.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2015-01-02 16:55:26 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2015-01-02 16:55:26 +0000
commit4a9890a7305ecd4e15e9627df71ce5b0ef62048c (patch)
tree31ba103fc84ffead4081acf55d641670f0f35b93 /dns/noip/files/patch-noip2.c
parentUpdate to 4.3.3 (diff)
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
Notes
Notes: svn path=/head/; revision=376054
Diffstat (limited to 'dns/noip/files/patch-noip2.c')
-rw-r--r--dns/noip/files/patch-noip2.c25
1 files changed, 0 insertions, 25 deletions
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++;