From 8adf9fbd4dc6129a55f8b0b38fc93b7a3213230c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 7 Jun 2009 13:18:53 +0000 Subject: [PATCH] libs/sys: don't convert searched target to uppercase in IptParser, breaks searches for targets referencing custom chains --- libs/sys/luasrc/sys/iptparser.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1