diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-11-05 09:31:27 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-11-05 09:37:52 +0100 |
commit | d80dd2291ff01d264dfa802b769fa19756f07821 (patch) | |
tree | dfe7d9dc3cd772f635bdd8a4d29d55822d846149 /documentation/api/modules/luci.ip.cidr.html | |
parent | 3942789dc62d6a0e7fcfb0a935bfe5c8d372245b (diff) |
documentation: update Lua API docs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 2ae6e3c6b3c3b65cd955bb10fb9065beebc5ffd2)
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 50633a7735..ae6c61dc5d 100644 --- a/documentation/api/modules/luci.ip.cidr.html +++ b/documentation/api/modules/luci.ip.cidr.html @@ -718,7 +718,7 @@ are considered lower than MAC addresses</li> <ul> <li> - addr: A <code>luci.ip.cidr</code> instance or a string convertable by + addr: A <code>luci.ip.cidr</code> instance or a string convertible by <code>luci.ip.new()</code> to compare against. </li> @@ -777,7 +777,7 @@ are considered lower than MAC addresses</li> <ul> <li> - addr: A <code>luci.ip.cidr</code> instance or a string convertable by + addr: A <code>luci.ip.cidr</code> instance or a string convertible by <code>luci.ip.new()</code> to compare against. </li> @@ -832,7 +832,7 @@ Checks whether this CIDR instance is equal to the given argument. <ul> <li> - addr: A <code>luci.ip.cidr</code> instance or a string convertable by + addr: A <code>luci.ip.cidr</code> instance or a string convertible by <code>luci.ip.new()</code> to compare against. </li> @@ -1208,7 +1208,7 @@ Test whether CIDR contains given range. <ul> <li> - addr: A <code>luci.ip.cidr</code> instance or a string convertable by + addr: A <code>luci.ip.cidr</code> instance or a string convertible by <code>luci.ip.new()</code> to test. </li> @@ -1258,7 +1258,7 @@ address space, the result is set to the highest possible address. <li> amount: A numeric value between 0 and 0xFFFFFFFF, a - <code>luci.ip.cidr</code> instance or a string convertable by + <code>luci.ip.cidr</code> instance or a string convertible by <code>luci.ip.new()</code>. </li> @@ -1307,7 +1307,7 @@ print(mac) -- "FF:FF:FF:FF:FF:FF"</pre> <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 @@ -1334,7 +1334,7 @@ possible address is returned. <li> amount: A numeric value between 0 and 0xFFFFFFFF, a - <code>luci.ip.cidr</code> instance or a string convertable by + <code>luci.ip.cidr</code> instance or a string convertible by <code>luci.ip.new()</code>. </li> |