patch-2.1.15 linux/net/ipv4/ip_fw.c
Next file: linux/net/ipv4/ip_input.c
Previous file: linux/net/ipv4/ip_fragment.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Thu Dec 12 16:54:24 1996
- Orig file:
v2.1.14/linux/net/ipv4/ip_fw.c
- Orig date:
Tue Nov 19 15:54:01 1996
diff -u --recursive --new-file v2.1.14/linux/net/ipv4/ip_fw.c linux/net/ipv4/ip_fw.c
@@ -153,7 +153,7 @@
static struct ip_fw **chains[] =
{&ip_fw_fwd_chain, &ip_fw_in_chain, &ip_fw_out_chain, &ip_acct_chain};
#endif /* CONFIG_IP_ACCT || CONFIG_IP_FIREWALL */
-
+
#ifdef CONFIG_IP_FIREWALL
int ip_fw_fwd_policy=IP_FW_F_ACCEPT;
int ip_fw_in_policy=IP_FW_F_ACCEPT;
@@ -1297,6 +1297,7 @@
#endif
#endif
+
void ip_fw_init(void)
{
#ifdef CONFIG_PROC_FS
@@ -1314,14 +1315,6 @@
proc_net_register(&proc_net_ipfwout);
proc_net_register(&proc_net_ipfwfwd);
#endif
-#endif
-#ifdef CONFIG_IP_MASQUERADE
-
- /*
- * Initialize masquerading.
- */
-
- ip_masq_init();
#endif
#if defined(CONFIG_IP_ACCT) || defined(CONFIG_IP_FIREWALL)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov