diff options
author | Frank Hunleth <[email protected]> | 2019-06-22 16:41:31 -0400 |
---|---|---|
committer | Frank Hunleth <[email protected]> | 2019-06-27 08:26:13 -0400 |
commit | 9adc5cb879b1e939711a83fa7db3928310fbec06 (patch) | |
tree | 76be69faea715e88f4da37d05f6f86f3ea78c17d /lib/observer/src/etop_txt.erl | |
parent | 2630808e2eedb99dc29d6c9755947f0cb087288a (diff) | |
download | otp-9adc5cb879b1e939711a83fa7db3928310fbec06.tar.gz otp-9adc5cb879b1e939711a83fa7db3928310fbec06.tar.bz2 otp-9adc5cb879b1e939711a83fa7db3928310fbec06.zip |
Support local sockets with inet:i/0
Before:
1> gen_udp:open(0, [local, {ip, {local, "unixdomainfile"}}]).
{ok,#Port<0.6>}
2> inet:i().
** exception error: bad argument
in function integer_to_list/1
called as integer_to_list(<<"unixdomainfile">>)
in call from inet:fmt_port/2 (inet.erl, line 1646)
in call from inet:fmt_addr/2 (inet.erl, line 1642)
in call from inet:'-i_line/3-lc$^0/1-0-'/3 (inet.erl, line 1547)
in call from inet:'-i_line/3-lc$^0/1-0-'/3 (inet.erl, line 1547)
in call from inet:'-info_lines/3-lc$^0/1-0-'/3 (inet.erl, line 1546)
in call from inet:ii/3 (inet.erl, line 1531)
in call from inet:i/0 (inet.erl, line 1515)
After:
Port Module Recv Sent Owner Local Address Foreign Address State Type
4160 local_udp 0 0 <0.1747.0> local:unixdomainfile *:* IDLE DGRAM
Diffstat (limited to 'lib/observer/src/etop_txt.erl')
0 files changed, 0 insertions, 0 deletions