From 9c604cfee594ac8ea15891e6a3b4f4c16979cf3f Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 5 May 2006 21:24:32 +0000 Subject: [PATCH] Change 'track' interraction with PREROUTING marking -- take 3 git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3863 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/compiler | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Shorewall/compiler b/Shorewall/compiler index 16b31db79..6e41d7b42 100755 --- a/Shorewall/compiler +++ b/Shorewall/compiler @@ -3378,29 +3378,29 @@ process_tc_rule() case $mark in SAVE) - [ -n $did_connmark ] && fatal_error "SAVE not valid with :C[FP]" + [ -n "$did_connmark" ] && fatal_error "SAVE not valid with :C[FP]" target="CONNMARK --save-mark --mask 0xFF" mark= ;; SAVE/*) - [ -n $did_connmark ] && fatal_error "SAVE not valid with :C[FP]" + [ -n "$did_connmark" ] && fatal_error "SAVE not valid with :C[FP]" target="CONNMARK --save-mark --mask" mark=${mark#*/} verify_small_mark $mark ;; RESTORE) - [ -n $did_connmark ] && fatal_error "RESTORE not valid with :C[FP]" + [ -n "$did_connmark" ] && fatal_error "RESTORE not valid with :C[FP]" target="CONNMARK --restore-mark --mask 0xFF" mark= ;; RESTORE/*) - [ -n $did_connmark ] && fatal_error "RESTORE not valid with :C[FP]" + [ -n "$did_connmark" ] && fatal_error "RESTORE not valid with :C[FP]" target="CONNMARK --restore-mark --mask" mark=${mark#*/} verify_small_mark $mark ;; CONTINUE) - [ -n $did_connmark ] && fatal_error "CONTINUE not valid with :C[FP]" + [ -n "$did_connmark" ] && fatal_error "CONTINUE not valid with :C[FP]" target=RETURN mark= ;;