diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-08-09 18:48:13 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-08-09 18:48:13 +0000 |
commit | ba298a020bc033f526a0750caa24e9b098074674 (patch) | |
tree | a542498dc2deab8f9cbeeb027c382fc409370b04 /libs | |
parent | a83de5a3b4e0fb23643030e6d0fd5938670be6bd (diff) |
* luci/libs: add missing parameter documentation for prefix() in luci.ip
Diffstat (limited to 'libs')
-rw-r--r-- | libs/core/luasrc/ip.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/core/luasrc/ip.lua b/libs/core/luasrc/ip.lua index 75311bfc7..02b4a66a6 100644 --- 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] |