Report reason for no IPv6 multicast with STTRACE=discover

This commit is contained in:
Jakob Borg 2015-08-23 15:50:57 +02:00
parent a024cefd35
commit 706926543e

View File

@ -94,6 +94,9 @@ func (d *Discoverer) startLocalIPv4Broadcasts(localPort int) {
func (d *Discoverer) startLocalIPv6Multicasts(localMCAddr string) {
mb, err := beacon.NewMulticast(localMCAddr)
if err != nil {
if debug {
l.Debugln("beacon.NewMulticast:", err)
}
l.Infoln("Local discovery over IPv6 unavailable")
return
}