Require DUPLICATE if COPY is non-empty in /etc/shorewall/providers

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4945 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-11-19 16:26:38 +00:00
parent 06558a2d65
commit 0a75a6b0e5

View File

@ -138,6 +138,8 @@ __EOF__
else
copy_table
fi
elif [ "x${copy:=-}" != x- ]; then
fatal_error "A non-empty COPY column requires that a routing table be specified in the DUPLICATE column"
fi
if [ "x$gateway" = xdetect ] ; then