FreeBSD Bugzilla – Attachment 118160 Details for
Bug 160344
[patch] dns/mydns: fix IPv6 support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 667 bytes, created by
wiking
on 2011-08-31 21:50:05 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
wiking
Created:
2011-08-31 21:50:05 UTC
Size:
667 bytes
patch
obsolete
>--- ./src/mydns/listen.c.orig 2011-08-31 22:27:28.908761531 +0200 >+++ ./src/mydns/listen.c 2011-08-31 22:28:38.969853188 +0200 >@@ -310,7 +310,7 @@ > #if HAVE_IPV6 > case AF_INET6: > memcpy(&addr6, &((struct sockaddr_in6 *)&ifr->ifr_addr)->sin6_addr, sizeof(struct in6_addr)); >- addrlist_add(AF_INET, &addr4, port); >+ addrlist_add(AF_INET, &addr6, port); > break; > #endif > default: >@@ -454,7 +454,7 @@ > if (inet_pton(AF_INET6, addr, &addr6) <= 0) > Warnx("%s: `%s' %s: %s", addr, desc, _("address"), _("invalid IPv6 address format")); > else >- addrlist_add(AF_INET6, &addr4, port); >+ addrlist_add(AF_INET6, &addr6, port); > } > #endif > }
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 160344
: 118160