summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2014-06-29 18:48:13 +0000
committerChristian Pointner <equinox@anytun.org>2014-06-29 18:48:13 +0000
commit77fa19d7a4d99f9e70f6f478a41beae8d64b79aa (patch)
tree2fbeef6ced9f062009074d7fe2d7435953a4f84d
parentaccepting new clients and receiving data from unix sockets work now (diff)
basic write functionality for unix domain sockets work as well
-rw-r--r--src/uanytun.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uanytun.c b/src/uanytun.c
index c743524..b867648 100644
--- a/src/uanytun.c
+++ b/src/uanytun.c
@@ -235,6 +235,7 @@ int process_key_exchange(unixdomain_t* sock, fd_set* readyfds)
} else {
buf[len] = 0;
log_printf(DEBUG, "key exchange: received string '%s'", buf);
+ unixdomain_write(sock, buf, len);
}
}