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
commitcbd8d5e8db94c41b8fca33d23419c88ad109a551 (patch)
tree79839e4a31df527b3d58f1fb1c74380b1cb4435e
parentfbea2ae05c574cd11f1aebaeb40cca8d4b536908 (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 c97b9f7..8c6ad3f 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!