summaryrefslogtreecommitdiffstats
path: root/3modules/lass
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
commit70711515910f5627262f0da0270ab76024811c20 (patch)
treeb162d60843dac718c5ec7294f2f4d85d0751f118 /3modules/lass
parent83901e1e475f6bcb6aca0aefbcbebde62339b481 (diff)
3 lass.iptables: fix broken predicate check
Diffstat (limited to '3modules/lass')
-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 b78879d2c..c97b9f730 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