luci-0.8: merge r4780
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 7 Jun 2009 13:19:41 +0000 (13:19 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 7 Jun 2009 13:19:41 +0000 (13:19 +0000)
libs/sys/luasrc/sys/iptparser.lua

index 6e9eff2034634a91d77f00b4d29025bb99ecda7a..84589e5e9c23d9eaf01972230a8c42a86f31484c 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