mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-17 19:08:25 -07:00
48c44c29ab
Updates #2763. Squashed commit of the following: commit bd2077c6569b53ae341a58aa73de6063d7037e8e Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri Jun 4 16:25:17 2021 +0300 all: move rlimit_nofile, imp docs commit ba95d4ab7c722bf83300d626a598aface37539ad Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri Jun 4 15:12:23 2021 +0300 all: support setgid, setuid on unix
18 lines
345 B
Go
18 lines
345 B
Go
// +build windows
|
|
|
|
//go:build windows
|
|
|
|
package dhcpd
|
|
|
|
import (
|
|
"net"
|
|
|
|
"github.com/AdguardTeam/AdGuardHome/internal/aghos"
|
|
"golang.org/x/net/ipv4"
|
|
)
|
|
|
|
// Create a socket for receiving broadcast packets
|
|
func newBroadcastPacketConn(_ net.IP, _ int, _ string) (*ipv4.PacketConn, error) {
|
|
return nil, aghos.Unsupported("newBroadcastPacketConn")
|
|
}
|