summaryrefslogtreecommitdiff
path: root/src/uanytun.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2014-02-09 13:25:44 +0000
committerChristian Pointner <equinox@anytun.org>2014-02-09 13:25:44 +0000
commit5d24910be65973162960748d03bed221b63e3bc7 (patch)
tree8e4f362cfa8ccb145e8261ebd7aa0e060ffdaeeb /src/uanytun.c
parentfixed help output (diff)
refactored name
Diffstat (limited to 'src/uanytun.c')
-rw-r--r--src/uanytun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uanytun.c b/src/uanytun.c
index 1317de1..a0265d5 100644
--- a/src/uanytun.c
+++ b/src/uanytun.c
@@ -387,7 +387,7 @@ int main(int argc, char* argv[])
}
if(opt.remote_addr_) {
- if(!udp_set_remote(&sock, opt.remote_addr_, opt.remote_port_, opt.resolv_addr_type_)) {
+ if(!udp_resolv_remote(&sock, opt.remote_addr_, opt.remote_port_, opt.resolv_addr_type_)) {
char* remote_string = udp_get_remote_end_string(&sock);
if(remote_string) {
log_printf(NOTICE, "set remote end to: %s", remote_string);