From 8335caf929f21b317a0243a12285e1f04361db25 Mon Sep 17 00:00:00 2001 From: JuanJo Ciarlante Date: Sun, 13 Sep 2009 13:43:04 +0200 Subject: * rebased openvpn-2.1_rc1b.jjo.20061206.d.patch * passes {udp,tcp}x{v4,v6} loopback tests * passes {udp,tcp}x{v6} remote tests --- mtcp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mtcp.c') diff --git a/mtcp.c b/mtcp.c index 314aa44..f8cc50f 100644 --- a/mtcp.c +++ b/mtcp.c @@ -150,6 +150,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); + ASSERT (mi->context.c2.link_socket->info.lsa->actual.dest.addr.sa.sa_family == AF_INET); 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"); -- cgit v1.2.3