forked from Imagelibrary/rtems
2011-07-14 Gene Smith <gene.smith@siemens.com>
PR 1381/networking * libnetworking/netinet/ip_output.c: If a null or unreachable gateway is specified either statically in networkconfig.h or from dhcp/bootp, sendto() fails on multicast send with errno 118 Host
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2011-07-14 Gene Smith <gene.smith@siemens.com>
|
||||||
|
|
||||||
|
PR 1381/networking
|
||||||
|
* libnetworking/netinet/ip_output.c: If a null or unreachable gateway
|
||||||
|
is specified either statically in networkconfig.h or from dhcp/bootp,
|
||||||
|
sendto() fails on multicast send with errno 118 Host
|
||||||
|
|
||||||
2011-06-10 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
2011-06-10 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||||
|
|
||||||
PR 1812/filesystem
|
PR 1812/filesystem
|
||||||
|
|||||||
@@ -163,6 +163,15 @@ ip_output(struct mbuf *m0, struct mbuf *opt, struct route *ro, int flags,
|
|||||||
ifp = ia->ia_ifp;
|
ifp = ia->ia_ifp;
|
||||||
ip->ip_ttl = 1;
|
ip->ip_ttl = 1;
|
||||||
isbroadcast = in_broadcast(dst->sin_addr, ifp);
|
isbroadcast = in_broadcast(dst->sin_addr, ifp);
|
||||||
|
} else if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) &&
|
||||||
|
imo != NULL && imo->imo_multicast_ifp != NULL) {
|
||||||
|
/*
|
||||||
|
* Bypass the normal routing lookup for multicast
|
||||||
|
* packets if the interface is specified.
|
||||||
|
*/
|
||||||
|
ifp = imo->imo_multicast_ifp;
|
||||||
|
IFP_TO_IA(ifp, ia);
|
||||||
|
isbroadcast = 0; /* fool gcc */
|
||||||
} else {
|
} else {
|
||||||
/*
|
/*
|
||||||
* If this is the case, we probably don't want to allocate
|
* If this is the case, we probably don't want to allocate
|
||||||
|
|||||||
Reference in New Issue
Block a user