From 366fbace1fbe2a3d4b441f3108c7a5cef1ffdef6 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Mon, 12 Sep 2016 12:28:15 +0800 Subject: [PATCH] Fix #826 again --- src/local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/local.c b/src/local.c index 6ce18a24..055df09d 100644 --- a/src/local.c +++ b/src/local.c @@ -419,7 +419,7 @@ server_recv_cb(EV_P_ ev_io *w, int revents) int udp_assc = 0; - if (mode != TCP_ONLY && request->cmd == 3) { + if (request->cmd == 3) { udp_assc = 1; socklen_t addr_len = sizeof(sock_addr); getsockname(server->fd, (struct sockaddr *)&sock_addr,