diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2016-03-28 21:18:36 +0300 |
---|---|---|
committer | Hannu Nyman <hannu.nyman@iki.fi> | 2016-03-28 21:18:36 +0300 |
commit | 0a1f44c293231c64c3ceb352637a5c3584fba50c (patch) | |
tree | 9843e8c7aff896e7b29f2418cb1fc793bffaa015 /documentation/api/modules/luci.ip.cidr.html | |
parent | 5b79e62c0a99bab8dfb8dce8124d9fecc11da54b (diff) | |
parent | 6f7b8e3f5bc0eaea00f479d6197d5381970ecff1 (diff) |
Merge pull request #689 from stweil/master
Fix some typos found by codespell
Diffstat (limited to 'documentation/api/modules/luci.ip.cidr.html')
-rw-r--r-- | documentation/api/modules/luci.ip.cidr.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/documentation/api/modules/luci.ip.cidr.html b/documentation/api/modules/luci.ip.cidr.html index 28fb21d02d..ce8c567952 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.</td> <td class="name" nowrap><a href="#cidr.sub">cidr:sub</a> (amount, inplace)</td> <td class="summary"> -Substract given amount from CIDR instance.</td> +Subtract given amount from CIDR instance.</td> </tr> <tr> @@ -1082,7 +1082,7 @@ print(addr) -- "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff/64"</pr <h3>Return value:</h3> <ul> - <li>When adding inplace: Return <code>true</code> if the addition succeded + <li>When adding inplace: Return <code>true</code> if the addition succeeded or <code>false</code> when the addition overflowed.</li> <li>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"</pr <dd> -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"</pre> <h3>Return value:</h3> <ul> - <li>When substracting inplace: Return <code>true</code> if the substraction - succeded or <code>false</code> when the substraction underflowed.</li> + <li>When subtracting inplace: Return <code>true</code> if the subtraction + succeeded or <code>false</code> when the subtraction underflowed.</li> <li>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.</li></ul> + this instance minus the subtracted amount or the lowest address if + the subtraction underflowed.</li></ul> |