[BACK]Return to raw_ip.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netinet/raw_ip.c between version 1.114 and 1.115

version 1.114, 2012/03/22 20:34:39 version 1.115, 2013/02/05 17:30:02
Line 478  rip_bind(struct inpcb *inp, struct mbuf 
Line 478  rip_bind(struct inpcb *inp, struct mbuf 
                 return (EINVAL);                  return (EINVAL);
         if (TAILQ_FIRST(&ifnet) == 0)          if (TAILQ_FIRST(&ifnet) == 0)
                 return (EADDRNOTAVAIL);                  return (EADDRNOTAVAIL);
         if (addr->sin_family != AF_INET &&          if (addr->sin_family != AF_INET)
             addr->sin_family != AF_IMPLINK)  
                 return (EAFNOSUPPORT);                  return (EAFNOSUPPORT);
         if (!in_nullhost(addr->sin_addr) &&          if (!in_nullhost(addr->sin_addr) &&
             ifa_ifwithaddr(sintosa(addr)) == 0)              ifa_ifwithaddr(sintosa(addr)) == 0)
Line 497  rip_connect(struct inpcb *inp, struct mb
Line 496  rip_connect(struct inpcb *inp, struct mb
                 return (EINVAL);                  return (EINVAL);
         if (TAILQ_FIRST(&ifnet) == 0)          if (TAILQ_FIRST(&ifnet) == 0)
                 return (EADDRNOTAVAIL);                  return (EADDRNOTAVAIL);
         if (addr->sin_family != AF_INET &&          if (addr->sin_family != AF_INET)
             addr->sin_family != AF_IMPLINK)  
                 return (EAFNOSUPPORT);                  return (EAFNOSUPPORT);
         inp->inp_faddr = addr->sin_addr;          inp->inp_faddr = addr->sin_addr;
         return (0);          return (0);

Legend:
Removed from v.1.114  
changed lines
  Added in v.1.115

CVSweb <webmaster@jp.NetBSD.org>