mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-19 12:50:57 +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 '';
|
emit '';
|
||||||
if ( $gateway ) {
|
if ( $gateway ) {
|
||||||
if ( $family == F_IPV4 ) {
|
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);
|
emit qq(run_ip route add default via $gateway src $address dev $physical table $id metric $number);
|
||||||
} else {
|
} else {
|
||||||
emit qq(qt \$IP -6 route del default via $gateway src $address dev $physical table $id metric $number);
|
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