|
|
@ -740,10 +740,6 @@ int main(int argc, char **argv) |
|
|
|
daemonize(pid_path); |
|
|
|
} |
|
|
|
|
|
|
|
if (auth) { |
|
|
|
LOGI("onetime authentication enabled"); |
|
|
|
} |
|
|
|
|
|
|
|
// ignore SIGPIPE |
|
|
|
signal(SIGPIPE, SIG_IGN); |
|
|
|
signal(SIGABRT, SIG_IGN); |
|
|
@ -790,6 +786,10 @@ int main(int argc, char **argv) |
|
|
|
ev_io_start(loop, &listen_ctx.io); |
|
|
|
} |
|
|
|
|
|
|
|
if (auth) { |
|
|
|
LOGI("onetime authentication enabled"); |
|
|
|
} |
|
|
|
|
|
|
|
// Setup UDP |
|
|
|
if (mode != TCP_ONLY) { |
|
|
|
LOGI("UDP relay enabled"); |
|
|
|