JackDoan hai 6 meses
pai
achega
f4c8dfdfd2
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      udp/udp_linux.go

+ 0 - 1
udp/udp_linux.go

@@ -60,7 +60,6 @@ func NewListener(l *logrus.Logger, ip netip.Addr, port int, multi bool, batch in
 		_ = udpConn.Close()
 		_ = udpConn.Close()
 		return nil, err
 		return nil, err
 	}
 	}
-	udpConn.LocalAddr().String()
 
 
 	//steal the socket's fd for sending
 	//steal the socket's fd for sending
 	var sockFd uintptr
 	var sockFd uintptr