diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-06-07 13:18:53 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-06-07 13:18:53 +0000 |
commit | 8adf9fbd4dc6129a55f8b0b38fc93b7a3213230c (patch) | |
tree | 77e002ed51a634222c223017cee1c43fc3c5f1af | |
parent | c4313711b230e48db0a95d5ac7a84af2879cf0bb (diff) |
libs/sys: don't convert searched target to uppercase in IptParser, breaks searches for targets referencing custom chains
-rw-r--r-- | libs/sys/luasrc/sys/iptparser.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/sys/luasrc/sys/iptparser.lua b/libs/sys/luasrc/sys/iptparser.lua index 6e9eff203..84589e5e9 100644 --- a/libs/sys/luasrc/sys/iptparser.lua +++ b/libs/sys/luasrc/sys/iptparser.lua @@ -122,7 +122,7 @@ function IptParser.find( self, args ) -- match target if not ( match == true and ( - not args.target or args.target:upper() == rule.target + not args.target or args.target == rule.target ) ) then match = false end |