3 lass.iptables: fix precedence sort order
This commit is contained in:
parent
47f68443a3
commit
ab9a4dac12
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue