Remove ill-considered macro

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8366 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-03-27 13:44:14 +00:00
parent bbc8577a30
commit 6b1f1df9f0
2 changed files with 4 additions and 12 deletions

View File

@ -1,10 +0,0 @@
#
# Shorewall version 4 - Rfc1918 Macro
#
# /usr/share/shorewall/macro.Rfc1918
#
# This macro handles traffic with SOURCE or DEST reserved by RFC 1918.
#
###############################################################################
PARAM SOURCE DEST:10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
PARAM SOURCE:10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 DEST

View File

@ -290,8 +290,10 @@ get_config() {
MANGLE_ENABLED=
;;
*)
echo " ERROR: Invalid MANGLE_ENABLED setting ($MANGLE_ENABLED)" >&2
exit 2
if [ -n "$MANGLE_ENABLED" ]; then
echo " ERROR: Invalid MANGLE_ENABLED setting ($MANGLE_ENABLED)" >&2
exit 2
fi
;;
esac
}