FreeBSD Bugzilla – Attachment 154840 Details for
Bug 198931
Fix net/mDNSResponder errors "Tried to register a NetworkInterfaceInfo [IPv6] with invalid mask <C2><AB>ZERO ADDRESS<C2><BB>"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix incorrect address family for IPv6 netmasks
net__mDNSResponder-fix-ipv6-mask-1.diff (text/plain), 1.30 KB, created by
Dimitry Andric
on 2015-03-26 18:53:36 UTC
(
hide
)
Description:
Fix incorrect address family for IPv6 netmasks
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2015-03-26 18:53:36 UTC
Size:
1.30 KB
patch
obsolete
>Index: net/mDNSResponder/files/patch-mDNSPosix-mDNSUNP.c >=================================================================== >--- net/mDNSResponder/files/patch-mDNSPosix-mDNSUNP.c (revision 0) >+++ net/mDNSResponder/files/patch-mDNSPosix-mDNSUNP.c (working copy) >@@ -0,0 +1,11 @@ >+--- mDNSPosix/mDNSUNP.c.orig 2011-12-02 01:39:45.000000000 +0100 >++++ mDNSPosix/mDNSUNP.c 2015-03-26 17:08:45.334715000 +0100 >+@@ -449,6 +449,8 @@ struct ifi_info *get_ifi_info(int family >+ ifi->ifi_netmask = (struct sockaddr*)calloc(1, sizeof(struct sockaddr_in6)); >+ if (ifi->ifi_netmask == NULL) goto gotError; >+ sinptr6 = (struct sockaddr_in6 *) &ifr6.ifr_ifru.ifru_addr; >++ /* SIOCGIFNETMASK_IN6 does not always set sin6_family */ >++ sinptr6->sin6_family = AF_INET6; >+ memcpy(ifi->ifi_netmask, sinptr6, sizeof(struct sockaddr_in6)); >+ } >+ #endif > >Property changes on: net/mDNSResponder/files/patch-mDNSPosix-mDNSUNP.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 198931
: 154840