tiny refactor: make use of helper function

This commit is contained in:
Matthias Radestock committed 2015-04-11 19:09:41 +01:00
1 parent 85971193a8
commit bb99b21248
1 file changed
+1 -1
+1 -1
View File
@@ -63,7 +63,7 @@ func minimalServer(w dns.ResponseWriter, req *dns.Msg) {
}
func RunLocalMulticastServer() (*dns.Server, error) {
multicast, err := net.ListenMulticastUDP("udp", nil, ipv4Addr)
multicast, err := LinkLocalMulticastListener(nil)
if err != nil {
return nil, err
}