blob: fafd02fc1edceea4b49d39cb7a8d6302aff38de8 [file] [log] [blame]
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package mdns
import (
"syscall"
)
func setIPv4MulticastLoopback(fd int, v bool) error {
return syscall.SetsockoptInt(fd, syscall.IPPROTO_IP, syscall.IP_MULTICAST_LOOP, boolint(v))
}