mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-18 12:20:42 +01:00
Correct add of default IPv6 route when no gateway specified
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
3d541f50c8
commit
cd98266396
@ -779,7 +779,7 @@ CEOF
|
|||||||
if ( $gateway ) {
|
if ( $gateway ) {
|
||||||
emit qq(add_gateway "via $gateway dev $physical $realm" ) . $tbl;
|
emit qq(add_gateway "via $gateway dev $physical $realm" ) . $tbl;
|
||||||
} else {
|
} else {
|
||||||
emit qq(add_gateway "nexthop dev $physical $realm" ) . $tbl;
|
emit qq(add_gateway "dev $physical $realm" ) . $tbl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user