diff options
Diffstat (limited to 'libs')
-rw-r--r-- | libs/luci-lib-ip/src/ip.luadoc | 16 | ||||
-rw-r--r-- | libs/luci-lib-json/luasrc/json.luadoc | 2 | ||||
-rw-r--r-- | libs/luci-lib-rpcc/luasrc/rpcc.luadoc | 2 | ||||
-rw-r--r-- | libs/luci-lib-rpcc/luasrc/rpcc/ruci.luadoc | 2 |
4 files changed, 11 insertions, 11 deletions
diff --git a/libs/luci-lib-ip/src/ip.luadoc b/libs/luci-lib-ip/src/ip.luadoc index 00738832c4..e32ae72f40 100644 --- a/libs/luci-lib-ip/src/ip.luadoc +++ b/libs/luci-lib-ip/src/ip.luadoc @@ -42,10 +42,10 @@ if the given optional netmask is of a different family. containing a prefix size between `0` and `32` bit. Overrides mask embedded in the first argument if specified. (optional) @return A `luci.ip.cidr` object representing the given IPv4 range. -@usage `addr = luci.ip.new("10.24.0.1/24") -addr = luci.ip.new("10.24.0.1/255.255.255.0") -addr = luci.ip.new("10.24.0.1", "255.255.255.0") -- separate netmask -addr = luci.ip.new("10.24.0.1/24", 16) -- override netmask` +@usage `addr = luci.ip.IPv4("10.24.0.1/24") +addr = luci.ip.IPv4("10.24.0.1/255.255.255.0") +addr = luci.ip.IPv4("10.24.0.1", "255.255.255.0") -- separate netmask +addr = luci.ip.IPv4("10.24.0.1/24", 16) -- override netmask` @see IPv6 ]] @@ -62,10 +62,10 @@ if the given optional netmask is of a different family. containing a prefix size between `0` and `128` bit. Overrides mask embedded in the first argument if specified. (optional) @return A `luci.ip.cidr` object representing the given IPv6 range. -@usage `addr6 = luci.ip.new("fe80::221:63ff:fe75:aa17/64") -addr6 = luci.ip.new("fe80::221:63ff:fe75:aa17/ffff:ffff:ffff:ffff::") -addr6 = luci.ip.new("fe80::221:63ff:fe75:aa17", "ffff:ffff:ffff:ffff::") -addr6 = luci.ip.new("fe80::221:63ff:fe75:aa17/64", 128) -- override netmask` +@usage `addr6 = luci.ip.IPv6("fe80::221:63ff:fe75:aa17/64") +addr6 = luci.ip.IPv6("fe80::221:63ff:fe75:aa17/ffff:ffff:ffff:ffff::") +addr6 = luci.ip.IPv6("fe80::221:63ff:fe75:aa17", "ffff:ffff:ffff:ffff::") +addr6 = luci.ip.IPv6("fe80::221:63ff:fe75:aa17/64", 128) -- override netmask` @see IPv4 ]] diff --git a/libs/luci-lib-json/luasrc/json.luadoc b/libs/luci-lib-json/luasrc/json.luadoc index d48dba13b9..37f97d25f2 100644 --- a/libs/luci-lib-json/luasrc/json.luadoc +++ b/libs/luci-lib-json/luasrc/json.luadoc @@ -2,8 +2,8 @@ LuCI JSON-Library @cstyle instance -module "luci.json" ]] +module "luci.json" ---[[ Directly decode a JSON string diff --git a/libs/luci-lib-rpcc/luasrc/rpcc.luadoc b/libs/luci-lib-rpcc/luasrc/rpcc.luadoc index 8c90ab5247..5609bfd751 100644 --- a/libs/luci-lib-rpcc/luasrc/rpcc.luadoc +++ b/libs/luci-lib-rpcc/luasrc/rpcc.luadoc @@ -2,8 +2,8 @@ LuCI RPC Client. @cstyle instance -module "luci.rpcc" ]] +module "luci.rpcc" ---[[ Create a new JSON-RPC stream client. diff --git a/libs/luci-lib-rpcc/luasrc/rpcc/ruci.luadoc b/libs/luci-lib-rpcc/luasrc/rpcc/ruci.luadoc index 980ef46d97..9c842c5650 100644 --- a/libs/luci-lib-rpcc/luasrc/rpcc/ruci.luadoc +++ b/libs/luci-lib-rpcc/luasrc/rpcc/ruci.luadoc @@ -2,8 +2,8 @@ Transparent UCI over RPC client. @cstyle instance -module "luci.rpcc.ruci" ]] +module "luci.rpcc.ruci" ---[[ Create a new UCI over RPC proxy. |