patch-2.0.31 linux/net/ipv4/sysctl_net_ipv4.c

Next file: linux/net/ipv4/tcp.c
Previous file: linux/net/ipv4/route.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.30/linux/net/ipv4/sysctl_net_ipv4.c linux/net/ipv4/sysctl_net_ipv4.c
@@ -18,7 +18,8 @@
 extern int sysctl_arp_confirm_interval;
 extern int sysctl_arp_confirm_timeout;
 
-extern int sysctl_ip_forward; 
+extern int sysctl_ip_forward;
+extern int sysctl_ip_dynaddr;
 static int proc_doipforward(ctl_table *ctl, int write, struct file *filp,
 			    void *buffer, size_t *lenp) 
 {
@@ -58,5 +59,7 @@
          &proc_dointvec},
 	{NET_IPV4_FORWARD, "ip_forward", &sysctl_ip_forward, sizeof(int),
 	 0644, NULL, &proc_doipforward },
+        {NET_IPV4_DYNADDR, "ip_dynaddr",
+         &sysctl_ip_dynaddr, sizeof(int), 0644, NULL, &proc_dointvec},
 	{0}
 };

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov