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

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

Diff for /src/sys/netinet6/raw_ip6.c between version 1.22 and 1.23

version 1.22, 2000/03/01 12:49:50 version 1.23, 2000/05/29 00:03:18
Line 1 
Line 1 
 /*      $NetBSD$        */  /*      $NetBSD$        */
 /*      $KAME: raw_ip6.c,v 1.24 2000/02/28 15:44:12 itojun Exp $        */  /*      $KAME: raw_ip6.c,v 1.28 2000/05/28 23:25:07 itojun Exp $        */
   
 /*  /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.   * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
Line 629  rip6_usrreq(so, req, m, nam, control, p)
Line 629  rip6_usrreq(so, req, m, nam, control, p)
                         error = EINVAL;                          error = EINVAL;
                         break;                          break;
                 }                  }
   
                   /*
                    * we don't support mapped address here, it would confuse
                    * users so reject it
                    */
                   if (IN6_IS_ADDR_V4MAPPED(&addr->sin6_addr)) {
                           error = EADDRNOTAVAIL;
                           break;
                   }
   
                 if ((ifnet.tqh_first == 0) ||                  if ((ifnet.tqh_first == 0) ||
                    (addr->sin6_family != AF_INET6) ||                     (addr->sin6_family != AF_INET6) ||
                    (!IN6_IS_ADDR_UNSPECIFIED(&addr->sin6_addr) &&                     (!IN6_IS_ADDR_UNSPECIFIED(&addr->sin6_addr) &&

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

CVSweb <webmaster@jp.NetBSD.org>