Changeset 067489b in rtems


Ignore:
Timestamp:
Jul 14, 2011, 7:16:09 PM (8 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
f6dfd7d
Parents:
ad2cefe
Message:

2011-07-14 Gene Smith <gene.smith@…>

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
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rad2cefe r067489b  
     12011-07-14      Gene Smith <gene.smith@siemens.com>
     2
     3        PR 1381/networking
     4        * libnetworking/netinet/ip_output.c: If a null or unreachable gateway
     5        is specified either statically in networkconfig.h or from dhcp/bootp,
     6        sendto() fails on multicast send with errno 118 Host
     7
    182011-07-13      Till Straumann <strauman@slac.stanford.edu>
    29
  • cpukit/libnetworking/netinet/ip_output.c

    rad2cefe r067489b  
    168168                ip->ip_ttl = 1;
    169169                isbroadcast = in_broadcast(dst->sin_addr, ifp);
     170        } else if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr)) &&
     171            imo != NULL && imo->imo_multicast_ifp != NULL) {
     172                /*
     173                 * Bypass the normal routing lookup for multicast
     174                 * packets if the interface is specified.
     175                 */
     176                ifp = imo->imo_multicast_ifp;
     177                IFP_TO_IA(ifp, ia);
     178                isbroadcast = 0;        /* fool gcc */
    170179        } else {
    171180                /*
Note: See TracChangeset for help on using the changeset viewer.