diff options
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> |