mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
fix: missing concatMap in wireguard allowed address calculation
This commit is contained in:
parent
dc450f4b54
commit
4fd369f034
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@
|
||||||
# plus traffic for any of its external peers
|
# plus traffic for any of its external peers
|
||||||
++ attrValues snCfg.server.externalPeers
|
++ attrValues snCfg.server.externalPeers
|
||||||
# plus traffic for any client that is connected via that server
|
# plus traffic for any client that is connected via that server
|
||||||
++ map (n: (wgCfgOf n).addresses) (filter (n: (wgCfgOf n).client.via == serverNode) participatingClientNodes)
|
++ concatMap (n: (wgCfgOf n).addresses) (filter (n: (wgCfgOf n).client.via == serverNode) participatingClientNodes)
|
||||||
);
|
);
|
||||||
in {
|
in {
|
||||||
assertions = [
|
assertions = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue