diff options
author | JuanJo Ciarlante <jjo@google.com> | 2009-09-13 13:43:04 +0200 |
---|---|---|
committer | JuanJo Ciarlante <juanjosec@gmail.com> | 2011-03-25 13:30:28 +0100 |
commit | 8335caf929f21b317a0243a12285e1f04361db25 (patch) | |
tree | f5a13a5196bda5db8681614ad19f18f522e3dfaa /mtcp.c | |
parent | Use a version-less version identifier on the master branch (diff) | |
download | openvpn-8335caf929f21b317a0243a12285e1f04361db25.tar.xz |
* rebased openvpn-2.1_rc1b.jjo.20061206.d.patch
* passes {udp,tcp}x{v4,v6} loopback tests
* passes {udp,tcp}x{v6} remote tests
Diffstat (limited to 'mtcp.c')
-rw-r--r-- | mtcp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"); |