[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.45 and 1.46

version 1.45, 1997/02/18 20:49:35 version 1.46, 1997/02/19 08:30:04
Line 1252  ip_sysctl(name, namelen, oldp, oldlenp, 
Line 1252  ip_sysctl(name, namelen, oldp, oldlenp, 
                  * Don't allow this to change in a secure environment.                   * Don't allow this to change in a secure environment.
                  */                   */
                 if (securelevel > 0)                  if (securelevel > 0)
                         return (EPERM);                          return (sysctl_rdint(oldp, oldlenp, newp,
                 return (sysctl_int(oldp, oldlenp, newp, newlen,                              ip_forwsrcrt));
                     &ip_forwsrcrt));                  else
                           return (sysctl_int(oldp, oldlenp, newp, newlen,
                               &ip_forwsrcrt));
         case IPCTL_DIRECTEDBCAST:          case IPCTL_DIRECTEDBCAST:
                 return (sysctl_int(oldp, oldlenp, newp, newlen,                  return (sysctl_int(oldp, oldlenp, newp, newlen,
                     &ip_directedbcast));                      &ip_directedbcast));

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

CVSweb <webmaster@jp.NetBSD.org>