summaryrefslogtreecommitdiffstats
path: root/3modules/lass/iptables.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-07-18 14:32:02 +0200
committerlassulus <lass@aidsballs.de>2015-07-18 14:32:02 +0200
commit1691f1b780924d1416bc340b1ab268e7efa70e39 (patch)
treeb162d60843dac718c5ec7294f2f4d85d0751f118 /3modules/lass/iptables.nix
parent60b2c8d900d9cd6c85e24c70029f6df971785589 (diff)
3 lass.iptables: fix broken predicate check
Diffstat (limited to '3modules/lass/iptables.nix')
-rw-r--r--3modules/lass/iptables.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/3modules/lass/iptables.nix b/3modules/lass/iptables.nix
index b78879d..c97b9f7 100644
--- a/3modules/lass/iptables.nix
+++ b/3modules/lass/iptables.nix
@@ -124,7 +124,7 @@ let
buildRule = tn: cn: rule:
#target validation test:
- assert (elemIsIn rule.target ([ "ACCEPT" "REJECT" "DROP" "QUEUE" "LOG" "RETURN" ] ++ ts."${tn}"."${cn}"));
+ assert (elemIsIn rule.target ([ "ACCEPT" "REJECT" "DROP" "QUEUE" "LOG" "RETURN" ] ++ (attrNames ts."${tn}")));
#predicate validation test:
#maybe use iptables-test