View | Details | Raw Unified | Return to bug 195002
Collapse All | Expand All

(-)dns/noip/files/patch-noip2.c (-25 lines)
Lines 27-54 Link Here
27
 	fprintf(stderr, "Options: -C               create configuration data\n");
27
 	fprintf(stderr, "Options: -C               create configuration data\n");
28
 	fprintf(stderr, "         -F               force NAT off\n");
28
 	fprintf(stderr, "         -F               force NAT off\n");
29
 	fprintf(stderr, "         -Y               select all hosts/groups\n");
29
 	fprintf(stderr, "         -Y               select all hosts/groups\n");
30
@@ -2316,17 +2316,14 @@
31
 	dq = (unsigned char *)devs;     // point at name list
32
 	for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
33
 		if (ifa->ifa_addr->sa_family == AF_LINK) {
34
-// FreeBSD doesn't define some of these!
35
-#ifdef IFT_PFLOG
36
 			struct if_data *ifd = (struct if_data *) ifa->ifa_data;
37
-			if (ifd->ifi_type == IFT_PFLOG
38
-				 || ifd->ifi_type == IFT_PFSYNC
39
-				 || ifd->ifi_type == IFT_ENC
40
-				 || ifd->ifi_type == IFT_BRIDGE
41
-				 || ifd->ifi_type == IFT_OTHER
42
-				 || ifd->ifi_type == IFT_GIF)
43
-		 	   continue;
44
-#endif
45
+
46
+			if (ifd->ifi_type == IFT_OTHER
47
+				|| ifd->ifi_type == IFT_GIF
48
+				|| ifd->ifi_type == IFT_LOOP
49
+				|| ifd->ifi_type == IFT_FAITH)
50
+			continue;
51
+
52
 			q = dq;     // add new name into list
53
 			p = ifa->ifa_name;
54
 			devnum++;

Return to bug 195002