From 5f9fad6fd52b2bf9e0b86a689810155a347ab830 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Sun, 8 Sep 2013 10:44:34 +0800 Subject: [PATCH] provide more info --- src/local.c | 5 ++++- src/server.c | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/local.c b/src/local.c index a7f44a09..d9b46f97 100644 --- a/src/local.c +++ b/src/local.c @@ -930,8 +930,11 @@ int main (int argc, char **argv) ev_io_start (loop, &listen_ctx.io); // Setup UDP - if (udprelay) + if (udprelay) + { + LOGD("udprelay enabled."); udprelay_init(local_addr, local_port, remote_host[0], remote_port, m, iface); + } ev_run (loop, 0); return 0; diff --git a/src/server.c b/src/server.c index 1d3c35b0..b7de0f90 100644 --- a/src/server.c +++ b/src/server.c @@ -1043,8 +1043,11 @@ int main (int argc, char **argv) } // Setup UDP - if (udprelay) + if (udprelay) + { + LOGD("udprelay enabled."); udprelay_init(server_host[0], server_port, asyncns, m, iface); + } // start ev loop ev_run (loop, 0);