FreeBSD Bugzilla – Attachment 67588 Details for
Bug 99558
FreeBSD 6.1 can't send packets to INADDR_BROADCAST
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ip_output.c.patch
ip_output.c.patch (text/plain), 620 bytes, created by
Ryan Beasley
on 2007-01-05 21:10:33 UTC
(
hide
)
Description:
ip_output.c.patch
Filename:
MIME Type:
Creator:
Ryan Beasley
Created:
2007-01-05 21:10:33 UTC
Size:
620 bytes
patch
obsolete
>--- sys/netinet/ip_output.c.orig Fri Jan 5 13:39:54 2007 >+++ sys/netinet/ip_output.c Fri Jan 5 14:55:48 2007 >@@ -218,12 +218,17 @@ > ifp = ia->ia_ifp; > ip->ip_ttl = 1; > isbroadcast = in_broadcast(dst->sin_addr, ifp); >+#if 0 > } else if (flags & IP_SENDONES) { > if ((ia = ifatoia(ifa_ifwithbroadaddr(sintosa(dst)))) == NULL) { > ipstat.ips_noroute++; > error = ENETUNREACH; > goto bad; > } >+#else >+ } else if ((flags & IP_SENDONES) && >+ ((ia = ifatoia(ifa_ifwithbroadaddr(sintosa(dst)))) != NULL)) { >+#endif > ifp = ia->ia_ifp; > ip->ip_dst.s_addr = INADDR_BROADCAST; > dst->sin_addr = ip->ip_dst;
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 99558
: 67588