about summary refs log tree commit diff
path: root/nixos/modules/tasks
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2022-10-31 09:59:56 +0100
committerGitHub <noreply@github.com>2022-10-31 09:59:56 +0100
commit8f571534c95cfd5c229a9e04b717475e6d728213 (patch)
tree85c1cac7d27cd2f7774b8eba9f5c0ab13ab113ab /nixos/modules/tasks
parentd40132138b215d4562a116c63ec30ab499bbbb3f (diff)
parent52c58c8bbef7b24aa8cb396afc05a8437e4dd3ec (diff)
Merge pull request #194766 from ncfavier/proxy-arp
Diffstat (limited to 'nixos/modules/tasks')
-rw-r--r--nixos/modules/tasks/network-interfaces.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/tasks/network-interfaces.nix b/nixos/modules/tasks/network-interfaces.nix
index 6f01917bcc59f..1982175eac94c 100644
--- a/nixos/modules/tasks/network-interfaces.nix
+++ b/nixos/modules/tasks/network-interfaces.nix
@@ -1356,8 +1356,8 @@ in
       "net.ipv6.conf.default.disable_ipv6" = mkDefault (!cfg.enableIPv6);
       # networkmanager falls back to "/proc/sys/net/ipv6/conf/default/use_tempaddr"
       "net.ipv6.conf.default.use_tempaddr" = tempaddrValues.${cfg.tempAddresses}.sysctl;
-    } // listToAttrs (flip concatMap (filter (i: i.proxyARP) interfaces)
-        (i: [(nameValuePair "net.ipv4.conf.${replaceChars ["."] ["/"] i.name}.proxy_arp" true)]))
+    } // listToAttrs (forEach interfaces
+        (i: nameValuePair "net.ipv4.conf.${replaceChars ["."] ["/"] i.name}.proxy_arp" i.proxyARP))
       // listToAttrs (forEach interfaces
         (i: let
           opt = i.tempAddress;