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:
a430b5c
)
libs/core/ip: fix prefix length handling in Hex() constructor
author
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 26 Nov 2008 22:29:14 +0000
(22:29 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 26 Nov 2008 22:29:14 +0000
(22:29 +0000)
libs/core/luasrc/ip.lua
patch
|
blob
|
history
diff --git
a/libs/core/luasrc/ip.lua
b/libs/core/luasrc/ip.lua
index bba701ae24c3f1114f01c2021e9878535f6a9b2b..c5ebfcab0d876c1e4d22529e3c6ae8beb289869d 100644
(file)
--- a/
libs/core/luasrc/ip.lua
+++ b/
libs/core/luasrc/ip.lua
@@
-314,7
+314,7
@@
function Hex( hex, prefix, family, swap )
end
end
- return __bless({ family, data,
len
})
+ return __bless({ family, data,
prefix
})
end