diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-05-01 06:03:02 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-05-01 06:03:02 -0700 |
commit | 62c6be5c35da62c1809b217850c18b1e3abe47f1 (patch) | |
tree | 6e4e532708fcbfb48fe9364c7254717532414972 /linenoise | |
parent | 68c2febec2dd78fd76ea9092fffec0086e7dfe33 (diff) | |
download | txr-62c6be5c35da62c1809b217850c18b1e3abe47f1.tar.gz txr-62c6be5c35da62c1809b217850c18b1e3abe47f1.tar.bz2 txr-62c6be5c35da62c1809b217850c18b1e3abe47f1.zip |
sockets: bug in formatting ipv6 address.
The str-in6addr and str-in6addr-net functions mishandle
the zero address, rendering it as ":" instead of "::".
* share/txr/stdlib/socket.tl (sys:in6addr-condensed-text):
Test for the degenerate case and map it to "::" output.
Diffstat (limited to 'linenoise')
0 files changed, 0 insertions, 0 deletions