FreeBSD Bugzilla – Attachment 151149 Details for
Bug 195002
[MAINTAINER] dns/noip: Conditional'ize IFT_FAITH for kernels without faith(4)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
PR195002 dns/noip: Remove unnecessary interface type patch causing IFT_FAITH build errors
PR195002.patch (text/plain), 1.20 KB, created by
Ben Woods
on 2014-12-31 11:00:14 UTC
(
hide
)
Description:
PR195002 dns/noip: Remove unnecessary interface type patch causing IFT_FAITH build errors
Filename:
MIME Type:
Creator:
Ben Woods
Created:
2014-12-31 11:00:14 UTC
Size:
1.20 KB
patch
obsolete
>Index: dns/noip/files/patch-noip2.c >=================================================================== >--- dns/noip/files/patch-noip2.c (revision 375868) >+++ dns/noip/files/patch-noip2.c (working copy) >@@ -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++;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 195002
:
149391
| 151149