3
0
Fork 0
forked from mirrors/nixpkgs

nixos/networkd: replace range with assertRange

This commit is contained in:
Ben Wolsieffer 2018-08-21 17:20:55 -04:00 committed by Robin Gloster
parent 35ae816e17
commit 6897945879

View file

@ -30,10 +30,10 @@ let
(assertValueOneOf "UDPSegmentationOffload" boolValues)
(assertValueOneOf "GenericReceiveOffload" boolValues)
(assertValueOneOf "LargeReceiveOffload" boolValues)
(range "RxChannels" 1 4294967295)
(range "TxChannels" 1 4294967295)
(range "OtherChannels" 1 4294967295)
(range "CombinedChannels" 1 4294967295)
(assertRange "RxChannels" 1 4294967295)
(assertRange "TxChannels" 1 4294967295)
(assertRange "OtherChannels" 1 4294967295)
(assertRange "CombinedChannels" 1 4294967295)
];
checkNetdev = checkUnitConfig "Netdev" [