Don't allow 4.0 values for IP_FORWARDING

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6648 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-06-22 20:48:07 +00:00
parent 8158281b6a
commit fb9154bdde

View File

@ -1,6 +1,15 @@
--- /home/teastep/shorewall/branches/3.4/Shorewall/lib.config 2007-06-17 14:17:01.000000000 -0700
+++ lib.config 2007-06-17 14:35:28.000000000 -0700
@@ -1857,6 +1857,44 @@
--- /home/teastep/shorewall/branches/3.4/Shorewall/lib.config 2007-06-22 13:44:06.000000000 -0700
+++ lib.config 2007-06-19 15:56:40.000000000 -0700
@@ -1865,7 +1865,7 @@
if [ -n "$IP_FORWARDING" ]; then
case "$IP_FORWARDING" in
- On|Off|Keep|on|off|keep|ON|OFF|KEEP)
+ On|Off|Yes|No|Keep|on|off|yes|no|keep|ON|OFF|YES|NO|KEEP)
;;
*)
startup_error "Invalid value ($IP_FORWARDING) for IP_FORWARDING"
@@ -1875,6 +1875,44 @@
IP_FORWARDING=On
fi
@ -45,7 +54,7 @@
[ -n "${BLACKLIST_DISPOSITION:=DROP}" ]
case "$CLAMPMSS" in
@@ -1868,8 +1906,6 @@
@@ -1886,8 +1924,6 @@
esac
ADD_SNAT_ALIASES=$(added_param_value_no ADD_SNAT_ALIASES $ADD_SNAT_ALIASES)