summaryrefslogtreecommitdiffstats
path: root/multi.c
diff options
context:
space:
mode:
authorJuanJo Ciarlante <jjo@google.com>2009-09-15 16:48:46 +0200
committerJuanJo Ciarlante <juanjosec@gmail.com>2011-03-25 13:30:29 +0100
commit51afc8b8865fe09f76b81ae341e693a5b16199f2 (patch)
tree7a7dca20b2c3bd00bf2ca8ab1bddd6db32297488 /multi.c
parentd9c04efcdffc610163dcca988578cfe677c3af15 (diff)
downloadopenvpn-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.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/multi.c b/multi.c
index 0196be9..df73cb9 100644
--- a/multi.c
+++ b/multi.c
@@ -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
}