Report reason for no IPv6 multicast with STTRACE=discover
This commit is contained in:
parent
e1190f0f0f
commit
4405ac7386
@ -102,6 +102,9 @@ func (d *Discoverer) startLocalIPv4Broadcasts(localPort int) {
|
|||||||
func (d *Discoverer) startLocalIPv6Multicasts(localMCAddr string) {
|
func (d *Discoverer) startLocalIPv6Multicasts(localMCAddr string) {
|
||||||
mb, err := beacon.NewMulticast(localMCAddr)
|
mb, err := beacon.NewMulticast(localMCAddr)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
if debug {
|
||||||
|
l.Debugln("beacon.NewMulticast:", err)
|
||||||
|
}
|
||||||
l.Infoln("Local discovery over IPv6 unavailable")
|
l.Infoln("Local discovery over IPv6 unavailable")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user