mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 06:38:53 +01:00
Allow specification of the TPROXY mark in CONNMARK and MARK.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
b11d63a7bd
commit
150f7ab798
@ -5289,8 +5289,8 @@ sub do_imac( $ ) {
|
||||
#
|
||||
sub verify_mark( $ ) {
|
||||
my $mark = $_[0];
|
||||
my $limit = $globals{EXCLUSION_MASK};
|
||||
my $mask = $globals{TC_MASK};
|
||||
my $limit = $config{TC_EXPERT} ? $globals{TPROXY_MARK} + 1 : $globals{EXCLUSION_MASK};
|
||||
my $mask = $config{TC_EXPERT} ? $globals{TPROXY_MARK} : $globals{TC_MASK};
|
||||
my $value = numeric_value( $mark );
|
||||
|
||||
fatal_error "Invalid Mark or Mask value ($mark)"
|
||||
|
Loading…
Reference in New Issue
Block a user