projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c431371
)
libs/sys: don't convert searched target to uppercase in IptParser, breaks searches...
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 7 Jun 2009 13:18:53 +0000
(13:18 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 7 Jun 2009 13:18:53 +0000
(13:18 +0000)
libs/sys/luasrc/sys/iptparser.lua
patch
|
blob
|
history
diff --git
a/libs/sys/luasrc/sys/iptparser.lua
b/libs/sys/luasrc/sys/iptparser.lua
index
6e9eff2
..
84589e5
100644
(file)
--- 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 (
-- 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
) ) then
match = false
end