diff options
author | lassulus <lass@aidsballs.de> | 2015-07-18 14:32:02 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-07-18 14:32:02 +0200 |
commit | 70711515910f5627262f0da0270ab76024811c20 (patch) | |
tree | b162d60843dac718c5ec7294f2f4d85d0751f118 /3modules | |
parent | 83901e1e475f6bcb6aca0aefbcbebde62339b481 (diff) |
3 lass.iptables: fix broken predicate check
Diffstat (limited to '3modules')
-rw-r--r-- | 3modules/lass/iptables.nix | 2 |
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 |