From 03e65a0b2401f63c8b10a1395def5c7859280aba Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 28 Dec 2008 02:39:57 +0000 Subject: added enpoint to string functions --- src/uanytun.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/uanytun.c') diff --git a/src/uanytun.c b/src/uanytun.c index 27d1880..881ba5b 100644 --- a/src/uanytun.c +++ b/src/uanytun.c @@ -71,6 +71,10 @@ int main(int argc, char* argv[]) exit(-1); } + udp_set_remote(sock, "anycast.anytun.org", "4444"); + char* remote_string = udp_get_remote_end_string(sock); + log_printf(INFO, "set remote end to: %s", remote_string); + free(remote_string); log_printf(INFO, "entering main loop"); u_int8_t buf[1600]; -- cgit v1.2.3