mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-23 16:13:18 +01:00
Cosmetic changes
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7684 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
8673ac70dd
commit
6367cc6f45
@ -295,7 +295,6 @@ sub add_a_provider( $$$$$$$$ ) {
|
||||
}
|
||||
|
||||
push @routemarked_providers, $providers{$table};
|
||||
|
||||
}
|
||||
|
||||
my $realm = '';
|
||||
@ -303,7 +302,7 @@ sub add_a_provider( $$$$$$$$ ) {
|
||||
if ( $shared ) {
|
||||
fatal_error "The 'shared' option requires a gateway" unless $gateway;
|
||||
|
||||
$providers{$table}{mac} = get_interface_mac( $gateway, $interface , $table );
|
||||
$providers{$table}{mac} = get_interface_mac( $gateway, $interface , $table );
|
||||
|
||||
$realm = "realm $number";
|
||||
}
|
||||
@ -330,7 +329,7 @@ sub add_a_provider( $$$$$$$$ ) {
|
||||
}
|
||||
|
||||
balance_default_route $balance , $gateway, $interface, $realm if $balance;
|
||||
|
||||
|
||||
if ( $loose ) {
|
||||
if ( $config{DELETE_THEN_ADD} ) {
|
||||
emit ( "\nfind_interface_addresses $interface | while read address; do",
|
||||
@ -392,7 +391,6 @@ sub add_an_rtrule( $$$$ ) {
|
||||
|
||||
fatal_error "You must specify either the source or destination in a route_rules entry" if $source eq '-' && $dest eq '-';
|
||||
|
||||
|
||||
if ( $dest eq '-' ) {
|
||||
$dest = 'to ' . ALLIPv4;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user