]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/socket-util.c
basic: show interface scope in sockaddr_pretty()
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 3 Sep 2020 13:20:31 +0000 (15:20 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 9 Sep 2020 22:46:44 +0000 (00:46 +0200)
commitb16d17a68ae8b44111b08c2689b3dee1d1f90169
treef7a59ea5ad4e043c498ae17cbdd2aead9b3d5fe6
parent2313524aa0082b84ae96083cd616120f60a67faa
basic: show interface scope in sockaddr_pretty()

If the interface scope is specified, this changes the meaning of the address
quite significantly. Let's show the IPv6 scope_id if present.

Sadly we don't even have a test for sockaddr_pretty() output :(
This will be implicitly tested through socket_address_parse() later on.
src/basic/socket-util.c