Update pixiecore.go

fix interface metadata errors for MacOS
This commit is contained in:
Travis Short 2019-12-26 21:26:40 -06:00 committed by Dave Anderson
parent 3271f8a90f
commit c08175e180

View File

@ -227,7 +227,7 @@ func (s *Server) Serve() error {
dhcp.Close() dhcp.Close()
return err 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 { if err != nil {
dhcp.Close() dhcp.Close()
tftp.Close() tftp.Close()