forked from extern/shorewall_code
Change 'track' interraction with PREROUTING marking -- take 5
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3866 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
f5bcf10464
commit
f77d5facf2
@ -3376,6 +3376,8 @@ process_tc_rule()
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
mask=0xffff
|
||||||
|
|
||||||
case $mark in
|
case $mark in
|
||||||
SAVE)
|
SAVE)
|
||||||
[ -n "$did_connmark" ] && fatal_error "SAVE not valid with :C[FP]"
|
[ -n "$did_connmark" ] && fatal_error "SAVE not valid with :C[FP]"
|
||||||
@ -3416,7 +3418,7 @@ process_tc_rule()
|
|||||||
fatal_error "Invalid mark value ($mark) in rule \"$rule\""
|
fatal_error "Invalid mark value ($mark) in rule \"$rule\""
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
elif [ $(($mask)) -ne 0 -a -n "$HIGH_ROUTE_MARKS" -a $chain = tcpre ]; then
|
elif [ $(($mark)) -ne 0 -a -n "$HIGH_ROUTE_MARKS" -a $chain = tcpre ]; then
|
||||||
fatal_error "Marks < 256 may not be set in the PREROUTING chain when HIGH_ROUTE_MARKS=Yes"
|
fatal_error "Marks < 256 may not be set in the PREROUTING chain when HIGH_ROUTE_MARKS=Yes"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user