mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-12 16:48:12 +01:00
Handle missing provider in a masq/snat entry.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
40865dce4d
commit
34c6013f1b
@ -140,6 +140,9 @@ sub process_one_masq1( $$$$$$$$$$ )
|
|||||||
if ( $interface =~ /(.*)[(](\w*)[)]$/ ) {
|
if ( $interface =~ /(.*)[(](\w*)[)]$/ ) {
|
||||||
$interface = $1;
|
$interface = $1;
|
||||||
my $provider = $2;
|
my $provider = $2;
|
||||||
|
|
||||||
|
fatal_error "Missing Provider ($fullinterface)" unless supplied $provider;
|
||||||
|
|
||||||
$fullinterface =~ s/[(]\w*[)]//;
|
$fullinterface =~ s/[(]\w*[)]//;
|
||||||
my $realm = lookup_provider( $provider );
|
my $realm = lookup_provider( $provider );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user