mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-18 12:20:42 +01:00
Enable DNS names without an interface name.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
c61d51363d
commit
853b9ce916
@ -6068,7 +6068,7 @@ sub isolate_source_interface( $ ) {
|
||||
if ( $source =~ /^(.+?):(.+)$/ ) {
|
||||
$iiface = $1;
|
||||
$inets = $2;
|
||||
} elsif ( $source =~ /^!?(?:\+|&|~|%|\^|\d+\.)/ ) {
|
||||
} elsif ( $source =~ /^!?(?:\+|&|~|%|\^|\d+\.|.+\..+\.)/ ) {
|
||||
$inets = $source;
|
||||
} else {
|
||||
$iiface = $source;
|
||||
@ -6178,7 +6178,7 @@ sub isolate_dest_interface( $$$$ ) {
|
||||
if ( $dest =~ /^(.+?):(.+)$/ ) {
|
||||
$diface = $1;
|
||||
$dnets = $2;
|
||||
} elsif ( $dest =~ /^!?(?:\+|&|%|~|\^|\d+\.)/ ) {
|
||||
} elsif ( $dest =~ /^!?(?:\+|&|%|~|\^|\d+\.|.+\..+\.)/ ) {
|
||||
$dnets = $dest;
|
||||
} else {
|
||||
$diface = $dest;
|
||||
|
Loading…
Reference in New Issue
Block a user