[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.223.4.1 and 1.224.2.5

version 1.223.4.1, 2006/09/09 02:58:47 version 1.224.2.5, 2006/09/14 12:31:55
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))
                 return (EPERM);                  return (EPERM);
   
         ip_forwsrcrt = tmp;          ip_forwsrcrt = tmp;

Legend:
Removed from v.1.223.4.1  
changed lines
  Added in v.1.224.2.5

CVSweb <webmaster@jp.NetBSD.org>