summaryrefslogtreecommitdiffstats
path: root/mtcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'mtcp.c')
-rw-r--r--mtcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mtcp.c b/mtcp.c
index a71801f..6ec9974 100644
--- a/mtcp.c
+++ b/mtcp.c
@@ -159,7 +159,7 @@ multi_tcp_instance_specific_init (struct multi_context *m, struct multi_instance
ASSERT (mi->context.c2.link_socket);
ASSERT (mi->context.c2.link_socket->info.lsa);
ASSERT (mi->context.c2.link_socket->mode == LS_MODE_TCP_ACCEPT_FROM);
- if (!mroute_extract_sockaddr_in (&mi->real, &mi->context.c2.link_socket->info.lsa->actual, true))
+ if (!mroute_extract_openvpn_sockaddr (&mi->real, &mi->context.c2.link_socket->info.lsa->actual.dest, true))
{
msg (D_MULTI_ERRORS, "MULTI TCP: TCP client address is undefined");
return false;