libs/sys: don't convert searched target to uppercase in IptParser, breaks searches for targets referencing custom chains

This commit is contained in:
Jo-Philipp Wich 2009-06-07 13:18:53 +00:00
parent c4313711b2
commit 8adf9fbd4d

View file

@ -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