diff options
author | JuanJo Ciarlante <jjo@google.com> | 2009-09-15 16:48:46 +0200 |
---|---|---|
committer | JuanJo Ciarlante <juanjosec@gmail.com> | 2011-03-25 13:30:29 +0100 |
commit | 51afc8b8865fe09f76b81ae341e693a5b16199f2 (patch) | |
tree | 7a7dca20b2c3bd00bf2ca8ab1bddd6db32297488 /multi.c | |
parent | d9c04efcdffc610163dcca988578cfe677c3af15 (diff) | |
download | openvpn-51afc8b8865fe09f76b81ae341e693a5b16199f2.tar.gz openvpn-51afc8b8865fe09f76b81ae341e693a5b16199f2.tar.xz openvpn-51afc8b8865fe09f76b81ae341e693a5b16199f2.zip |
* support --disable-ipv6 build properly:
- tests now are pass (and fail) properly for ipv6/4 builds
* more GNU indenting
Diffstat (limited to 'multi.c')
-rw-r--r-- | multi.c | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -2681,16 +2681,17 @@ tunnel_server (struct context *top) else tunnel_server_tcp(top); #else - switch (top->options.ce.proto) { - case PROTO_UDPv4: - tunnel_server_udp (top); - break; - case PROTO_TCPv4_SERVER: - tunnel_server_tcp (top); - break; - default: - ASSERT (0); - } + switch (top->options.ce.proto) + { + case PROTO_UDPv4: + tunnel_server_udp (top); + break; + case PROTO_TCPv4_SERVER: + tunnel_server_tcp (top); + break; + default: + ASSERT (0); + } #endif } |