mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-24 23:28:59 +01:00
Fix another bug with route_rules and IPv6
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9111 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
f39d647aaf
commit
27e9f4e706
@ -447,7 +447,7 @@ sub add_an_rtrule( $$$$ ) {
|
|||||||
my ($interface, $source ) = ($1, $2);
|
my ($interface, $source ) = ($1, $2);
|
||||||
validate_net ($source, 0);
|
validate_net ($source, 0);
|
||||||
$source = "iif $interface from $source";
|
$source = "iif $interface from $source";
|
||||||
} elsif ( $source =~ /\..*\..*/ ) {
|
} elsif ( $source =~ /:.*:/ || $source =~ /\..*\..*/ ) {
|
||||||
validate_net ( $source, 0 );
|
validate_net ( $source, 0 );
|
||||||
$source = "from $source";
|
$source = "from $source";
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user