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
This commit is contained in:
teastep 2006-05-05 21:24:32 +00:00
parent b72c33818f
commit 9c604cfee5

View File

@ -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=
;;