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:
Alexander Shpilkin 2018-09-07 02:23:12 +03:00
parent 8fdb6fba30
commit ecf73103ab
No known key found for this signature in database
GPG Key ID: 55F6F5B75637BD38

View File

@ -208,7 +208,6 @@ let
"InitialCongestionWindow" "InitialAdvertisedReceiveWindow" "QuickAck"
"MTUBytes"
])
(assertHasField "Gateway")
];
checkDhcp = checkUnitConfig "DHCP" [