Correct TPROXY/IPv6 address fix

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2011-07-07 14:50:44 -07:00
parent 3f903fe3f1
commit 7fa59706c5

View File

@ -205,7 +205,7 @@ sub process_tc_rule( ) {
my ( $mark, $designator, $remainder ) = split( /:/, $originalmark, 3 );
fatal_error "Invalid MARK ($originalmark)" unless defined $mark || $mark eq '';
fatal_error "Invalid MARK ($originalmark)" unless supplied $mark;
if ( $remainder ) {
if ( $originalmark =~ /^\w+\(?.*\)$/ ) {