diff --git a/Shorewall/Perl/Shorewall/Providers.pm b/Shorewall/Perl/Shorewall/Providers.pm index 874965bb4..d68e55543 100644 --- a/Shorewall/Perl/Shorewall/Providers.pm +++ b/Shorewall/Perl/Shorewall/Providers.pm @@ -855,6 +855,8 @@ sub add_an_rtrule( ) { if ( $source eq '-' ) { $source = 'from ' . ALLIP; + } elsif ( $source =~ s/^&// ) { + $source = 'from ' . record_runtime_address $source; } elsif ( $family == F_IPV4 ) { if ( $source =~ /:/ ) { ( my $interface, $source , my $remainder ) = split( /:/, $source, 3 );