Unverified Commit ee051d65 authored by Nick Cao's avatar Nick Cao
Browse files

nixos/networkd: add L3MasterDevice option to [RoutingPolicyRule] section

parent 38d02e4e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -770,6 +770,7 @@ let
          "Priority"
          "IncomingInterface"
          "OutgoingInterface"
          "L3MasterDevice"
          "SourcePort"
          "DestinationPort"
          "IPProtocol"
@@ -785,6 +786,7 @@ let
        (assertInt "FirewallMark")
        (assertRange "FirewallMark" 1 4294967295)
        (assertInt "Priority")
        (assertValueOneOf "L3MasterDevice" boolValues)
        (assertPortOrPortRange "SourcePort")
        (assertPortOrPortRange "DestinationPort")
        (assertValueOneOf "InvertRule" boolValues)