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

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

Diff for /src/sys/net/if_ethersubr.c between version 1.180 and 1.181

version 1.180, 2010/05/19 20:41:59 version 1.181, 2010/05/19 20:43:51
Line 1226  const uint8_t ether_ip6multicast_max[ETH
Line 1226  const uint8_t ether_ip6multicast_max[ETH
 int  int
 ether_aton_r(u_char *dest, size_t len, const char *str)  ether_aton_r(u_char *dest, size_t len, const char *str)
 {  {
         int i;  
         const u_char *cp = (const void *)str;          const u_char *cp = (const void *)str;
         u_char *ep;          u_char *ep;
   
Line 1247  ether_aton_r(u_char *dest, size_t len, c
Line 1246  ether_aton_r(u_char *dest, size_t len, c
                         dest++;                          dest++;
                         cp++;                          cp++;
                 } else                  } else
                         *dest++;                          dest++;
                 if (dest == ep)                  if (dest == ep)
                         return *cp == '\0' ? 0 : ENAMETOOLONG;                          return *cp == '\0' ? 0 : ENAMETOOLONG;
                 switch (*cp) {                  switch (*cp) {

Legend:
Removed from v.1.180  
changed lines
  Added in v.1.181

CVSweb <webmaster@jp.NetBSD.org>