Ajout récupération de fichier (fingerprint à check)
This commit is contained in:
@@ -85,10 +85,10 @@ func (client ClientMulticast) ResolveAddr() (*net.UDPAddr, bool) {
|
||||
func ResolveInterfaceAddr(inter string) (*net.UDPAddr, bool) {
|
||||
ip, err := utils.RetrieveIPv4FromInterface(inter)
|
||||
if err != nil {
|
||||
println("Error : " + err.Error())
|
||||
println("Error while loading interface : " + err.Error())
|
||||
return nil, true
|
||||
}
|
||||
println("Selected IP : " + ip.String())
|
||||
println("Selected IP for multicast : " + ip.String())
|
||||
return &net.UDPAddr{IP: ip}, false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user