mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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
This commit is contained in:
parent
aa7692e29d
commit
4a9890a730
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376054
2 changed files with 1 additions and 26 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= noip
|
PORTNAME= noip
|
||||||
PORTVERSION= 2.1.9
|
PORTVERSION= 2.1.9
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= dns
|
CATEGORIES= dns
|
||||||
MASTER_SITES= http://www.no-ip.com/client/linux/ \
|
MASTER_SITES= http://www.no-ip.com/client/linux/ \
|
||||||
CRITICAL
|
CRITICAL
|
||||||
|
|
|
@ -27,28 +27,3 @@
|
||||||
fprintf(stderr, "Options: -C create configuration data\n");
|
fprintf(stderr, "Options: -C create configuration data\n");
|
||||||
fprintf(stderr, " -F force NAT off\n");
|
fprintf(stderr, " -F force NAT off\n");
|
||||||
fprintf(stderr, " -Y select all hosts/groups\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++;
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue