Skip to content

Commit ee051d6

Browse files
committed
nixos/networkd: add L3MasterDevice option to [RoutingPolicyRule] section
1 parent 38d02e4 commit ee051d6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nixos/modules/system/boot/networkd.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,7 @@ let
770770
"Priority"
771771
"IncomingInterface"
772772
"OutgoingInterface"
773+
"L3MasterDevice"
773774
"SourcePort"
774775
"DestinationPort"
775776
"IPProtocol"
@@ -785,6 +786,7 @@ let
785786
(assertInt "FirewallMark")
786787
(assertRange "FirewallMark" 1 4294967295)
787788
(assertInt "Priority")
789+
(assertValueOneOf "L3MasterDevice" boolValues)
788790
(assertPortOrPortRange "SourcePort")
789791
(assertPortOrPortRange "DestinationPort")
790792
(assertValueOneOf "InvertRule" boolValues)

0 commit comments

Comments
 (0)