use net.ParseIP for ipv4 multicast addr

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2019-06-12 19:13:19 +03:00
parent 9decd6b803
commit 2304dca2ca

View File

@ -14,7 +14,7 @@ import (
) )
var ( var (
mdnsGroupIPv4 = net.IPv4(224, 0, 0, 251) mdnsGroupIPv4 = net.ParseIP("224.0.0.251")
mdnsGroupIPv6 = net.ParseIP("ff02::fb") mdnsGroupIPv6 = net.ParseIP("ff02::fb")
// mDNS wildcard addresses // mDNS wildcard addresses