mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 23:53:30 +01:00
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:
parent
b72c33818f
commit
9c604cfee5
@ -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=
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user