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=28fb21d02dcedc9a9268aede2abc62ff2679d7c1;hb=6f7b8e3f5bc0eaea00f479d6197d5381970ecff1;hpb=3bae3c7f5e8c383e481667fcfeae7765a1dacc75
diff --git a/documentation/api/modules/luci.ip.cidr.html b/documentation/api/modules/luci.ip.cidr.html
index 28fb21d02..ce8c56795 100644
--- a/documentation/api/modules/luci.ip.cidr.html
+++ b/documentation/api/modules/luci.ip.cidr.html
@@ -340,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.
@@ -1082,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
@@ -1099,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.
@@ -1148,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.