[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.229 and 1.230

version 1.229, 2006/08/30 18:55:09 version 1.230, 2006/09/08 20:58:58
Line 121  __KERNEL_RCSID(0, "$NetBSD$");
Line 121  __KERNEL_RCSID(0, "$NetBSD$");
 #include <sys/kernel.h>  #include <sys/kernel.h>
 #include <sys/pool.h>  #include <sys/pool.h>
 #include <sys/sysctl.h>  #include <sys/sysctl.h>
   #include <sys/kauth.h>
   
 #include <net/if.h>  #include <net/if.h>
 #include <net/if_dl.h>  #include <net/if_dl.h>
Line 2111  sysctl_net_inet_ip_forwsrcrt(SYSCTLFN_AR
Line 2112  sysctl_net_inet_ip_forwsrcrt(SYSCTLFN_AR
         if (error || newp == NULL)          if (error || newp == NULL)
                 return (error);                  return (error);
   
         if (securelevel > 0)          if (kauth_authorize_network(l->l_cred, KAUTH_NETWORK_FORWSRCRT,
               NULL, NULL, NULL, NULL) != KAUTH_RESULT_ALLOW)
                 return (EPERM);                  return (EPERM);
   
         ip_forwsrcrt = tmp;          ip_forwsrcrt = tmp;

Legend:
Removed from v.1.229  
changed lines
  Added in v.1.230

CVSweb <webmaster@jp.NetBSD.org>