mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-24 07:08:53 +01:00
Correct last merged patch
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
02baf94246
commit
1a48dd3eb9
@ -470,10 +470,13 @@ sub add_a_provider( ) {
|
|||||||
emit "run_ip route replace $gateway src $address dev $physical ${mtu}";
|
emit "run_ip route replace $gateway src $address dev $physical ${mtu}";
|
||||||
emit "run_ip route replace $gateway src $address dev $physical ${mtu}table $number $realm";
|
emit "run_ip route replace $gateway src $address dev $physical ${mtu}table $number $realm";
|
||||||
} else {
|
} else {
|
||||||
emit "qt \$IP -6 route replace $gateway src $address dev $physical ${mtu}";
|
emit "qt \$IP -6 route del $gateway src $address dev $physical ${mtu}";
|
||||||
|
emit "run_ip route add $gateway src $address dev $physical ${mtu}";
|
||||||
emit "qt \$IP -6 route del $gateway src $address dev $physical ${mtu}table $number $realm";
|
emit "qt \$IP -6 route del $gateway src $address dev $physical ${mtu}table $number $realm";
|
||||||
emit "run_ip route add $gateway src $address dev $physical ${mtu}table $number $realm";
|
emit "run_ip route add $gateway src $address dev $physical ${mtu}table $number $realm";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
emit "run_ip route add default via $gateway src $address dev $physical ${mtu}table $number $realm";
|
||||||
}
|
}
|
||||||
|
|
||||||
balance_default_route $balance , $gateway, $physical, $realm if $balance;
|
balance_default_route $balance , $gateway, $physical, $realm if $balance;
|
||||||
|
Loading…
Reference in New Issue
Block a user