* 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,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]
|
||||
|
||||
|
|
Loading…
Reference in a new issue