patch-2.1.37 linux/net/ipv4/ip_masq.c

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

diff -u --recursive --new-file v2.1.36/linux/net/ipv4/ip_masq.c linux/net/ipv4/ip_masq.c
@@ -31,6 +31,7 @@
 #include <linux/in.h>
 #include <linux/ip.h>
 #include <linux/inet.h>
+#include <linux/init.h>
 #include <net/protocol.h>
 #include <net/icmp.h>
 #include <net/tcp.h>
@@ -1010,7 +1011,7 @@
 /*
  *	Initialize ip masquerading
  */
-int ip_masq_init(void)
+__initfunc(int ip_masq_init(void))
 {
 #ifdef CONFIG_PROC_FS
 	proc_net_register(&proc_net_ipmsqhst);

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