[BACK]Return to ip_input.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/ip_input.c between version 1.179 and 1.180

version 1.179, 2003/09/28 04:45:14 version 1.180, 2003/11/10 20:03:29
Line 1922  ip_sysctl(name, namelen, oldp, oldlenp, 
Line 1922  ip_sysctl(name, namelen, oldp, oldlenp, 
   
         int error, old;          int error, old;
   
         /* All sysctl names at this level are terminal. */          /* All sysctl names (except ifq.*) at this level are terminal. */
         if (namelen != 1)          if ((namelen != 1) && !(namelen == 2 && name[0] == IPCTL_IFQ))
                 return (ENOTDIR);                  return (ENOTDIR);
   
         switch (name[0]) {          switch (name[0]) {
         case IPCTL_FORWARDING:          case IPCTL_FORWARDING:
Line 2059  ip_sysctl(name, namelen, oldp, oldlenp, 
Line 2059  ip_sysctl(name, namelen, oldp, oldlenp, 
         case IPCTL_CHECKINTERFACE:          case IPCTL_CHECKINTERFACE:
                 return (sysctl_int(oldp, oldlenp, newp, newlen,                  return (sysctl_int(oldp, oldlenp, newp, newlen,
                     &ip_checkinterface));                      &ip_checkinterface));
           case IPCTL_IFQ:
                   return (sysctl_ifq(name+1, namelen-1,
                                     oldp, oldlenp, newp, newlen,
                                     &ipintrq));
   
         default:          default:
                 return (EOPNOTSUPP);                  return (EOPNOTSUPP);
         }          }

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

CVSweb <webmaster@jp.NetBSD.org>