mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-16 02:18:28 -07:00
14 lines
299 B
Go
14 lines
299 B
Go
package dhcpd
|
|
|
|
import (
|
|
"errors"
|
|
"net"
|
|
|
|
"golang.org/x/net/ipv4"
|
|
)
|
|
|
|
// Create a socket for receiving broadcast packets
|
|
func newBroadcastPacketConn(bindAddr net.IP, port int, ifname string) (*ipv4.PacketConn, error) {
|
|
return nil, errors.New("newBroadcastPacketConn(): not supported on Windows")
|
|
}
|