projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e351f43
)
libs/core: whitespace fix in previous commit
author
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 12 Feb 2011 19:00:54 +0000
(19:00 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 12 Feb 2011 19:00:54 +0000
(19:00 +0000)
libs/core/luasrc/ip.lua
patch
|
blob
|
history
diff --git
a/libs/core/luasrc/ip.lua
b/libs/core/luasrc/ip.lua
index 77aecd2832c2e2df39079e38566374215d5f9bfd..c5148c22a4096e3f71f7f4a1d7b0980655cae031 100644
(file)
--- a/
libs/core/luasrc/ip.lua
+++ b/
libs/core/luasrc/ip.lua
@@
-340,7
+340,7
@@
function cidr.is4rfc1918( self )
if self[1] == FAMILY_INET4 then
return ((self[2][1] >= 0x0A00) and (self[2][1] <= 0x0AFF)) or
((self[2][1] >= 0xAC10) and (self[2][1] <= 0xAC1F)) or
-
(self[2][1] == 0xC0A8)
+ (self[2][1] == 0xC0A8)
end
return false
end