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:
a83de5a
)
* luci/libs: add missing parameter documentation for prefix() in luci.ip
author
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 9 Aug 2008 18:48:13 +0000
(18:48 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 9 Aug 2008 18:48:13 +0000
(18:48 +0000)
libs/core/luasrc/ip.lua
patch
|
blob
|
history
diff --git
a/libs/core/luasrc/ip.lua
b/libs/core/luasrc/ip.lua
index 75311bfc74685a1cce492cfa38daf8d1bc7a9e97..02b4a66a68988262a904ad47970d7290444fc2cc 100644
(file)
--- a/
libs/core/luasrc/ip.lua
+++ b/
libs/core/luasrc/ip.lua
@@
-414,7
+414,8
@@
function cidr.equal( self, addr )
end
--- Return the prefix length of this CIDR instance.
--- @return Prefix length in bit
+-- @param mask Override instance prefix with given netmask (optional)
+-- @return Prefix length in bit
function cidr.prefix( self, mask )
local prefix = self[3]