forked from extern/shorewall_code
Don't croak when adding gateway route fails for IPv6.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
53dd13cf15
commit
3541767881
@ -599,8 +599,7 @@ 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}table $number $realm";
|
||||
} else {
|
||||
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 add $gateway src $address dev $physical ${mtu}";
|
||||
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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user