warp-vpn

point to point VPN implementation
git clone git://git.2f30.org/warp-vpn
Log | Files | Refs | README

commit c772b64413c3fb40d14fe8b5c204057e28efda3e
parent 701f5fc23570dc9480dca6df3315ffc8fd4a0f2f
Author: sin <sin@2f30.org>
Date:   Thu, 23 Mar 2017 17:12:04 +0000

Print when server is ready in debug mode

Diffstat:
Mwarp.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/warp.c b/warp.c @@ -137,6 +137,8 @@ main(int argc, char *argv[]) if (mypledge("stdio inet", NULL) < 0) fatal("pledge"); for (;;) { + if (debug) + logdbgx("server is ready"); if ((netfd = serveraccept(listenfd)) < 0) { netreset(); continue;