소스 검색

fix vet oops

JackDoan 6 달 전
부모
커밋
f4c8dfdfd2
1개의 변경된 파일과 0개의 추가작업 그리고 1개의 파일을 삭제
  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()
 		return nil, err
 	}
-	udpConn.LocalAddr().String()
 
 	//steal the socket's fd for sending
 	var sockFd uintptr