1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

nixos/networkd: fix typoed hairpin option name

You can see in https://www.freedesktop.org/software/systemd/man/latest/systemd.network.html that
this should be "HairPin" not "Hairpin". Using "Hairpin" results in

```
Oct 25 18:55:03 my-host systemd-networkd[843736]: /etc/systemd/network/10-bridge.network:11:
    Unknown key name 'Hairpin' in section 'Bridge', ignoring.
```
This commit is contained in:
April Schleck 2023-10-25 18:58:19 -07:00 committed by April Schleck
parent 646514ac96
commit 13956f7f1f

View file

@ -1020,7 +1020,7 @@ let
"MulticastToUnicast"
"NeighborSuppression"
"Learning"
"Hairpin"
"HairPin"
"Isolated"
"UseBPDU"
"FastLeave"
@ -1036,7 +1036,7 @@ let
(assertValueOneOf "MulticastToUnicast" boolValues)
(assertValueOneOf "NeighborSuppression" boolValues)
(assertValueOneOf "Learning" boolValues)
(assertValueOneOf "Hairpin" boolValues)
(assertValueOneOf "HairPin" boolValues)
(assertValueOneOf "Isolated" boolValues)
(assertValueOneOf "UseBPDU" boolValues)
(assertValueOneOf "FastLeave" boolValues)