From 30077d1f415b8dc9bd7c8a1ac6a7585136ac6261 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Sat, 23 Nov 2013 20:57:04 +0100 Subject: Split the PROTO_UDP_xx options into AF_INET/AF_INET6 and PROTO_TCP/PROTO_UDP part. Splitting will make the code a little bit cleaner and prepares for dual stack Signed-off-by: Arne Schwabe Acked-by: Gert Doering Message-Id: <1385236624-3776-1-git-send-email-arne@rfc2549.org> URL: http://article.gmane.org/gmane.network.openvpn.devel/8043 Signed-off-by: Gert Doering --- src/openvpn/socks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/openvpn/socks.c') diff --git a/src/openvpn/socks.c b/src/openvpn/socks.c index a20f139..1551da8 100644 --- a/src/openvpn/socks.c +++ b/src/openvpn/socks.c @@ -55,7 +55,7 @@ void socks_adjust_frame_parameters (struct frame *frame, int proto) { - if (proto == PROTO_UDPv4) + if (proto == PROTO_UDP) frame_add_to_extra_link (frame, 10); } -- cgit