mirror of
https://github.com/danderson/netboot.git
synced 2025-10-15 17:41:38 +02:00
Update pixiecore.go
fix interface metadata errors for MacOS
This commit is contained in:
parent
3271f8a90f
commit
c08175e180
@ -227,7 +227,7 @@ func (s *Server) Serve() error {
|
||||
dhcp.Close()
|
||||
return err
|
||||
}
|
||||
pxe, err := net.ListenPacket("udp", fmt.Sprintf("%s:%d", s.Address, s.PXEPort))
|
||||
pxe, err := net.ListenPacket("udp4", fmt.Sprintf("%s:%d", s.Address, s.PXEPort))
|
||||
if err != nil {
|
||||
dhcp.Close()
|
||||
tftp.Close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user