provide more info

This commit is contained in:
Max Lv
2013-09-08 10:44:34 +08:00
parent cb36febda5
commit 5f9fad6fd5
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -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;
+4 -1
View File
@@ -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);