From 0a75a6b0e5b1c69aa683964de6830043eb74cd6e Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 19 Nov 2006 16:26:38 +0000 Subject: [PATCH] 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 --- Shorewall/lib.providers | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Shorewall/lib.providers b/Shorewall/lib.providers index d15be83f0..1bf962b75 100644 --- a/Shorewall/lib.providers +++ b/Shorewall/lib.providers @@ -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