forked from extern/shorewall_code
Revert another replace->add change.
- Also includes a cosmetic change. Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
6334b09653
commit
8fe7963631
@ -783,7 +783,7 @@ CEOF
|
||||
$address = get_interface_address $interface unless $address;
|
||||
if ( $family == F_IPV4 ) {
|
||||
emit "run_ip route replace $gateway src $address dev $physical ${mtu}";
|
||||
emit "run_ip route add $gateway src $address dev $physical ${mtu}table $id $realm";
|
||||
emit "run_ip route replace $gateway src $address dev $physical ${mtu}table $id $realm";
|
||||
} else {
|
||||
emit "qt \$IP -6 route add $gateway src $address dev $physical ${mtu}";
|
||||
emit "qt \$IP -6 route del $gateway src $address dev $physical ${mtu}table $id $realm";
|
||||
|
Loading…
Reference in New Issue
Block a user