aboutsummaryrefslogtreecommitdiffstats
path: root/README.rst
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen <ast@2e8.dk>2019-07-19 20:55:31 +0000
committerAsbjørn Sloth Tønnesen <ast@2e8.dk>2019-07-19 20:55:31 +0000
commit1d7959d798b367b96cf489d08623647587334821 (patch)
tree466c2f4a0fea9273ac5cf38adc282868ca9cc5a9 /README.rst
parent1f2c6d833c579c8c3169e22ef8af00265a438406 (diff)
downloadlua-inet-1d7959d798b367b96cf489d08623647587334821.tar.gz
lua-inet-1d7959d798b367b96cf489d08623647587334821.tar.xz
lua-inet-1d7959d798b367b96cf489d08623647587334821.zip
check bounds properly
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index 186fca3..5698887 100644
--- a/README.rst
+++ b/README.rst
@@ -181,7 +181,7 @@ Subtract
-- by calling the operator method directly additional debuging info are available:
inet('2001:db8::5/64') - inet('ffff::') -- returns nil
inet('2001:db8::5/64'):__sub(inet('ffff::'))
- -- returns nil, 'result is out of range', { 8194, 3512, 0, 0, 0, 0, 0, 5 }
+ -- returns nil, 'out of range', { -57342, 3512, 0, 0, 0, 0, 0, 5 }
-- mixed networks special:
inet('::ffff:192.0.2.24') - inet('::ffff:0.0.0.0/96') -- returns inet('192.0.2.24')