* luci/libs: add missing parameter documentation for prefix() in luci.ip
This commit is contained in:
parent
a83de5a3b4
commit
ba298a020b
1 changed files with 2 additions and 1 deletions
|
@ -414,6 +414,7 @@ function cidr.equal( self, addr )
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Return the prefix length of this CIDR instance.
|
--- Return the prefix length of this CIDR instance.
|
||||||
|
-- @param mask Override instance prefix with given netmask (optional)
|
||||||
-- @return Prefix length in bit
|
-- @return Prefix length in bit
|
||||||
function cidr.prefix( self, mask )
|
function cidr.prefix( self, mask )
|
||||||
local prefix = self[3]
|
local prefix = self[3]
|
||||||
|
|
Loading…
Reference in a new issue