patch-2.1.88 linux/net/ipv4/Config.in

Next file: linux/net/ipv4/arp.c
Previous file: linux/net/core/firewall.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.87/linux/net/ipv4/Config.in linux/net/ipv4/Config.in
@@ -37,14 +37,16 @@
   fi
 fi
 bool 'IP: accounting' CONFIG_IP_ACCT
-bool 'IP: masquerading' CONFIG_IP_MASQUERADE
-if [ "$CONFIG_IP_MASQUERADE" != "n" ]; then
-  comment 'Protocol-specific masquerading support will be built as modules.'
-  bool 'IP: ICMP masquerading' CONFIG_IP_MASQUERADE_ICMP
-  comment 'Protocol-specific masquerading support will be built as modules.'
-  if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
-    tristate 'IP: ipautofw masq support (EXPERIMENTAL)' CONFIG_IP_MASQUERADE_IPAUTOFW
-    tristate 'IP: ipportfw masq support (EXPERIMENTAL)' CONFIG_IP_MASQUERADE_IPPORTFW
+if [ "$CONFIG_IP_FIREWALL" = "y" ]; then
+  bool 'IP: masquerading' CONFIG_IP_MASQUERADE
+  if [ "$CONFIG_IP_MASQUERADE" != "n" ]; then
+    comment 'Protocol-specific masquerading support will be built as modules.'
+    bool 'IP: ICMP masquerading' CONFIG_IP_MASQUERADE_ICMP
+    comment 'Protocol-specific masquerading support will be built as modules.'
+    if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
+      tristate 'IP: ipautofw masq support (EXPERIMENTAL)' CONFIG_IP_MASQUERADE_IPAUTOFW
+      tristate 'IP: ipportfw masq support (EXPERIMENTAL)' CONFIG_IP_MASQUERADE_IPPORTFW
+    fi
   fi
 fi
 bool 'IP: optimize as router not host' CONFIG_IP_ROUTER

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