libs/sys: don't convert searched target to uppercase in IptParser, breaks searches...
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 7 Jun 2009 13:18:53 +0000 (13:18 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 7 Jun 2009 13:18:53 +0000 (13:18 +0000)
libs/sys/luasrc/sys/iptparser.lua

index 6e9eff2..84589e5 100644 (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