Browse Source

provide more info

pull/16/merge
Max Lv 11 years ago
parent
commit
5f9fad6fd5
2 changed files with 8 additions and 2 deletions
  1. 5
      src/local.c
  2. 5
      src/server.c

5
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;

5
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);

Loading…
Cancel
Save