nixos/networkd: do not require gateway for routes
A route via a tunnel interface does not require a gateway to be specified, so do not check for the Gateway= field on routes at all.
This commit is contained in:
parent
8fdb6fba30
commit
ecf73103ab
@ -208,7 +208,6 @@ let
|
|||||||
"InitialCongestionWindow" "InitialAdvertisedReceiveWindow" "QuickAck"
|
"InitialCongestionWindow" "InitialAdvertisedReceiveWindow" "QuickAck"
|
||||||
"MTUBytes"
|
"MTUBytes"
|
||||||
])
|
])
|
||||||
(assertHasField "Gateway")
|
|
||||||
];
|
];
|
||||||
|
|
||||||
checkDhcp = checkUnitConfig "DHCP" [
|
checkDhcp = checkUnitConfig "DHCP" [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user