summaryrefslogtreecommitdiffhomepage
path: root/libs/core/luasrc/ip.lua
diff options
context:
space:
mode:
Diffstat (limited to 'libs/core/luasrc/ip.lua')
-rw-r--r--libs/core/luasrc/ip.lua3
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]