Skip to content

Commit

Permalink
nixos/networkd: expose RapidCommit in DHCPv4 network unit section
Browse files Browse the repository at this point in the history
Disabling this option is required to obtain a DHCPv4 lease from
some old/misconfigured DHCP servers. This was already exposed for
DHCPv6.
  • Loading branch information
lattwood committed Dec 18, 2024
1 parent 956c52b commit 6c32471
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nixos/modules/system/boot/networkd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,7 @@ let
"IAID"
"RequestBroadcast"
"RouteMetric"
"RapidCommit"
"RouteTable"
"RouteMTUBytes"
"ListenPort"
Expand Down Expand Up @@ -906,6 +907,7 @@ let
(assertInt "IAID")
(assertValueOneOf "RequestBroadcast" boolValues)
(assertInt "RouteMetric")
(assertValueOneOf "RapidCommit" boolValues)
(assertInt "RouteTable")
(assertRange "RouteTable" 0 4294967295)
(assertByteFormat "RouteMTUBytes")
Expand Down

0 comments on commit 6c32471

Please sign in to comment.