X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=documentation%2Fapi%2Fmodules%2Fluci.ip.cidr.html;h=ce8c567952c230c469d2f3a85513e66593391d1e;hp=2bd3400b52804e97b66c54b018c4832d6c989c3f;hb=6f7b8e3f5bc0eaea00f479d6197d5381970ecff1;hpb=00e2b03927b5c107aefef1c71ef14facd4c3cb77
diff --git a/documentation/api/modules/luci.ip.cidr.html b/documentation/api/modules/luci.ip.cidr.html
index 2bd3400b5..ce8c56795 100644
--- a/documentation/api/modules/luci.ip.cidr.html
+++ b/documentation/api/modules/luci.ip.cidr.html
@@ -39,6 +39,10 @@
+ luci.http
+
+
+
luci.http.protocol
@@ -65,6 +69,10 @@
luci.ip.cidr
+ luci.json
+
+
+
luci.jsonc
@@ -73,6 +81,26 @@
+ luci.model.ipkg
+
+
+
+ luci.model.uci
+
+
+
+ luci.rpcc
+
+
+
+ luci.rpcc.ruci
+
+
+
+ luci.sys
+
+
+
luci.sys.init
@@ -97,6 +125,10 @@
+ luci.util
+
+
+
nixio
@@ -308,7 +340,7 @@ Add given amount to CIDR instance.
cidr:sub (amount, inplace) |
-Substract given amount from CIDR instance. |
+Subtract given amount from CIDR instance.
@@ -1050,7 +1082,7 @@ print(addr) -- "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff/64"Return value:
- - When adding inplace: Return
true
if the addition succeded
+ - When adding inplace: Return
true
if the addition succeeded
or false
when the addition overflowed.
- When deriving new CIDR: Return new instance representing the value of
this instance plus the added amount or the highest possible address if
@@ -1067,7 +1099,7 @@ print(addr) -- "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff/64"
-Substract given amount from CIDR instance. If the result would under, the lowest
+Subtract given amount from CIDR instance. If the result would under, the lowest
possible address is returned.
@@ -1116,11 +1148,11 @@ print(addr) -- "::/64"
Return value:
- - When substracting inplace: Return
true
if the substraction
- succeded or false
when the substraction underflowed.
+ - When subtracting inplace: Return
true
if the subtraction
+ succeeded or false
when the subtraction underflowed.
- When deriving new CIDR: Return new instance representing the value of
- this instance minus the substracted amount or the lowest address if
- the substraction underflowed.
+ this instance minus the subtracted amount or the lowest address if
+ the subtraction underflowed.