]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ss: print value of IPV6_V6ONLY socket option if set
authorPhil Sutter <phil@nwl.cc>
Wed, 24 Jun 2015 11:07:20 +0000 (13:07 +0200)
committerStephen Hemminger <shemming@brocade.com>
Fri, 26 Jun 2015 04:13:47 +0000 (00:13 -0400)
commitf32dc7467fee0b9e55c3fc6e2895d62e881dec55
treee439e7ba37907f5786743af4adfaea7f16c6c34a
parent528c2551cdb278d58282559067a5d1a47c2f3ebc
ss: print value of IPV6_V6ONLY socket option if set

If available and set, print 'v6only:1' for AF_INET6 sockets upon request
of extended information. For IPv6 sockets bound to in6addr_any, this is
the only way to determine if they will also accept IPv4 requests or not.

Signed-off-by: Phil Sutter <phil@nwl.cc>
misc/ss.c