[BACK]Return to in6_src.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/in6_src.c between version 1.1 and 1.1.2.1

version 1.1, 2000/06/03 14:36:36 version 1.1.2.1, 2000/08/27 01:11:27
Line 1 
Line 1 
 /*      $NetBSD$        */  /*      $NetBSD$        */
 /*      $KAME: in6_src.c,v 1.15 2000/05/30 10:16:24 jinmei Exp $        */  /*      $KAME: in6_src.c,v 1.27 2000/06/21 08:07:13 itojun Exp $        */
   
 /*  /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.   * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
Line 342  in6_pcbsetport(laddr, in6p)
Line 342  in6_pcbsetport(laddr, in6p)
                 wild = IN6PLOOKUP_WILDCARD;                  wild = IN6PLOOKUP_WILDCARD;
   
         if (in6p->in6p_flags & IN6P_LOWPORT) {          if (in6p->in6p_flags & IN6P_LOWPORT) {
   #ifndef IPNOPRIVPORTS
                 if (p == 0 || (suser(p->p_ucred, &p->p_acflag) != 0))                  if (p == 0 || (suser(p->p_ucred, &p->p_acflag) != 0))
                         return (EACCES);                          return (EACCES);
   #endif
                 min = IPV6PORT_RESERVEDMIN;                  min = IPV6PORT_RESERVEDMIN;
                 max = IPV6PORT_RESERVEDMAX;                  max = IPV6PORT_RESERVEDMAX;
         } else {          } else {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.2.1

CVSweb <webmaster@jp.NetBSD.org>