]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix mld6query(8) and add a new -g option
authorStephen Hurd <shurd@FreeBSD.org>
Fri, 11 May 2018 19:37:18 +0000 (19:37 +0000)
committerStephen Hurd <shurd@FreeBSD.org>
Fri, 11 May 2018 19:37:18 +0000 (19:37 +0000)
commit71cf0564f8750333556213344d3e3e43feaf26e3
tree52f2c0aa488f54bbf723dc65a4e8c3c53bc946f8
parent8dcbd0eae6b386818bf124e44a811ac43d12c6ad
Fix mld6query(8) and add a new -g option

The mld6query command relies on KAME behaviour which allows the
ipv6mr_multiaddr member of the request object in a IPV6_JOIN_GROUP
setsockopt() call to be INADDR6_ANY. The FreeBSD stack doesn't allow
this, so mld6query has been non-functional.

Also, add a -g option which sends a General Query (query INADDR6_ANY)

Reviewed by: sbruno, mmacy
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D15384
usr.sbin/mld6query/mld6.c
usr.sbin/mld6query/mld6query.8