[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.51 and 1.52

version 1.51, 1997/08/29 16:02:42 version 1.52, 1997/10/17 21:20:57
Line 1242  ip_sysctl(name, namelen, oldp, oldlenp, 
Line 1242  ip_sysctl(name, namelen, oldp, oldlenp, 
         void *newp;          void *newp;
         size_t newlen;          size_t newlen;
 {  {
           extern int subnetsarelocal;
   
         /* All sysctl names at this level are terminal. */          /* All sysctl names at this level are terminal. */
         if (namelen != 1)          if (namelen != 1)
                 return (ENOTDIR);                  return (ENOTDIR);
Line 1272  ip_sysctl(name, namelen, oldp, oldlenp, 
Line 1274  ip_sysctl(name, namelen, oldp, oldlenp, 
         case IPCTL_ALLOWSRCRT:          case IPCTL_ALLOWSRCRT:
                 return (sysctl_int(oldp, oldlenp, newp, newlen,                  return (sysctl_int(oldp, oldlenp, newp, newlen,
                     &ip_allowsrcrt));                      &ip_allowsrcrt));
           case IPCTL_SUBNETSARELOCAL:
                   return (sysctl_int(oldp, oldlenp, newp, newlen,
                       &subnetsarelocal));
         default:          default:
                 return (EOPNOTSUPP);                  return (EOPNOTSUPP);
         }          }

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52

CVSweb <webmaster@jp.NetBSD.org>