mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-19 04:41:07 +01:00
Revert bad hunk from last change.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
43932f2bbd
commit
61e21de41b
@ -810,7 +810,7 @@ CEOF
|
||||
emit '';
|
||||
if ( $gateway ) {
|
||||
if ( $family == F_IPV4 ) {
|
||||
emit qq(run_ip route add $gateway/32 dev $physical table $id);
|
||||
emit qq(run_ip route replace $gateway/32 dev $physical table $id);
|
||||
emit qq(run_ip route add default via $gateway src $address dev $physical table $id metric $number);
|
||||
} else {
|
||||
emit qq(qt \$IP -6 route del default via $gateway src $address dev $physical table $id metric $number);
|
||||
|
Loading…
Reference in New Issue
Block a user