瀏覽代碼

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