mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-23 08:03:11 +01:00
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:
parent
bbc8577a30
commit
6b1f1df9f0
@ -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
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user