diff options
author | Alexander Shpilkin <ashpilkin@gmail.com> | 2018-09-07 02:23:12 +0300 |
---|---|---|
committer | Alexander Shpilkin <ashpilkin@gmail.com> | 2018-09-07 02:23:12 +0300 |
commit | ecf73103abf1897a3121de2c7e87490b437266aa (patch) | |
tree | e8f7eb52a41cc4cb28f94c1cd2a1831e8017811e /nixos | |
parent | 8fdb6fba30a22c15bd86fb756a49559b9e5d590c (diff) | |
download | nixpkgs-ecf73103abf1897a3121de2c7e87490b437266aa.tar nixpkgs-ecf73103abf1897a3121de2c7e87490b437266aa.tar.gz nixpkgs-ecf73103abf1897a3121de2c7e87490b437266aa.tar.bz2 nixpkgs-ecf73103abf1897a3121de2c7e87490b437266aa.tar.lz nixpkgs-ecf73103abf1897a3121de2c7e87490b437266aa.tar.xz nixpkgs-ecf73103abf1897a3121de2c7e87490b437266aa.tar.zst nixpkgs-ecf73103abf1897a3121de2c7e87490b437266aa.zip |
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.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/boot/networkd.nix | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index 5f1de572e5b..63a6f7fbe09 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -208,7 +208,6 @@ let "InitialCongestionWindow" "InitialAdvertisedReceiveWindow" "QuickAck" "MTUBytes" ]) - (assertHasField "Gateway") ]; checkDhcp = checkUnitConfig "DHCP" [ |