summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-07-23 02:18:45 +0200
committerlassulus <lass@aidsballs.de>2015-07-23 02:18:45 +0200
commitab9a4dac127f378471126a72c7dc36a5ae7c29d6 (patch)
tree79839e4a31df527b3d58f1fb1c74380b1cb4435e
parent47f68443a39d8492b4bd056de8e35cfef2027f0c (diff)
3 lass.iptables: fix precedence sort order
-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 c97b9f730..8c6ad3fa1 100644
--- a/3modules/lass/iptables.nix
+++ b/3modules/lass/iptables.nix
@@ -106,7 +106,7 @@ let
buildChain = tn: cn:
let
- sortedRules = sort (a: b: a.precedence < b.precedence) ts."${tn}"."${cn}".rules;
+ sortedRules = sort (a: b: a.precedence > b.precedence) ts."${tn}"."${cn}".rules;
in
#TODO: double check should be unneccessary, refactor!