Commit 6c324710 authored by Logan Attwood's avatar Logan Attwood
Browse files

nixos/networkd: expose RapidCommit in DHCPv4 network unit section

Disabling this option is required to obtain a DHCPv4 lease from
some old/misconfigured DHCP servers. This was already exposed for
DHCPv6.
parent 956c52bd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -877,6 +877,7 @@ let
          "IAID"
          "RequestBroadcast"
          "RouteMetric"
          "RapidCommit"
          "RouteTable"
          "RouteMTUBytes"
          "ListenPort"
@@ -906,6 +907,7 @@ let
        (assertInt "IAID")
        (assertValueOneOf "RequestBroadcast" boolValues)
        (assertInt "RouteMetric")
        (assertValueOneOf "RapidCommit" boolValues)
        (assertInt "RouteTable")
        (assertRange "RouteTable" 0 4294967295)
        (assertByteFormat "RouteMTUBytes")