diff options
| author | pennae <82953136+pennae@users.noreply.github.com> | 2022-01-21 17:04:38 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-21 17:04:38 +0000 |
| commit | de287abdd11c3c20af0877a729ed1d2b8f311e26 (patch) | |
| tree | 5ceb2ee487ac2fe8d2a77b44343cd7d99625e74e | |
| parent | Merge pull request #156049 from NixOS/backport-155234-to-release-21.11 (diff) | |
| parent | nixos/networking: fix assertion on IPMasquerade (diff) | |
| download | nixpkgs-de287abdd11c3c20af0877a729ed1d2b8f311e26.tar.gz | |
Merge pull request #156031 from NixOS/backport-155854-to-release-21.11
[Backport release-21.11] nixos/networking: fix assertion on IPMasquerade
| -rw-r--r-- | nixos/modules/system/boot/networkd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index 5c074672b99c..6a8dcd727404 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -513,7 +513,7 @@ let (assertValueOneOf "EmitLLDP" (boolValues ++ ["nearest-bridge" "non-tpmr-bridge" "customer-bridge"])) (assertValueOneOf "DNSDefaultRoute" boolValues) (assertValueOneOf "IPForward" (boolValues ++ ["ipv4" "ipv6"])) - (assertValueOneOf "IPMasquerade" boolValues) + (assertValueOneOf "IPMasquerade" (boolValues ++ ["ipv4" "ipv6" "both"])) (assertValueOneOf "IPv6PrivacyExtensions" (boolValues ++ ["prefer-public" "kernel"])) (assertValueOneOf "IPv6AcceptRA" boolValues) (assertInt "IPv6DuplicateAddressDetection") |
