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:
@@ -208,7 +208,6 @@ let
|
|||||||
"InitialCongestionWindow" "InitialAdvertisedReceiveWindow" "QuickAck"
|
"InitialCongestionWindow" "InitialAdvertisedReceiveWindow" "QuickAck"
|
||||||
"MTUBytes"
|
"MTUBytes"
|
||||||
])
|
])
|
||||||
(assertHasField "Gateway")
|
|
||||||
];
|
];
|
||||||
|
|
||||||
checkDhcp = checkUnitConfig "DHCP" [
|
checkDhcp = checkUnitConfig "DHCP" [
|
||||||
|
|||||||
Reference in New Issue
Block a user