From 04cd8884c0af338f5eb2098f9e5b200e69ed66b2 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Fri, 6 May 2016 14:08:53 +0800 Subject: [PATCH] Fix a typo --- src/udprelay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/udprelay.c b/src/udprelay.c index 3814b021..de6a3172 100644 --- a/src/udprelay.c +++ b/src/udprelay.c @@ -1171,7 +1171,7 @@ static void server_recv_cb(EV_P_ ev_io *w, int revents) #endif #ifdef SET_INTERFACE if (server_ctx->iface) { - if (setinterface(remotefd, server_ctx->iface) == -1); + if (setinterface(remotefd, server_ctx->iface) == -1) ERROR("setinterface"); } #endif