From 5698bb3829abc8b01eb6882baa26bc131bb6e24d Mon Sep 17 00:00:00 2001
From: Gert Doering <gert@greenie.muc.de>
Date: Thu, 18 Apr 2013 21:33:18 +0200
Subject: [PATCH 5/5] Fix usage of "compression ..." from global config.
The new compression framework introduced by SVN r8206 only works for
a P2MP server if the compression settings are re-installed for each
client via management interface, ccd/ file or client-connect script,
but the "global" settings get lost due to (needlessly) clearing the
c2.comp_context in the per-client instance. Fixed. (also trac#273)
Signed-off-by: Gert Doering <gert@greenie.muc.de>
---
src/openvpn/init.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/openvpn/init.c b/src/openvpn/init.c
index 16501fd..b5bad65 100644
a
|
b
|
inherit_context_child (struct context *dest, |
3643 | 3643 | dest->c2.link_socket_info->lsa = &dest->c1.link_socket_addr; |
3644 | 3644 | dest->c2.link_socket_info->connection_established = false; |
3645 | 3645 | } |
3646 | | |
3647 | | #ifdef USE_COMP |
3648 | | dest->c2.comp_context = NULL; |
3649 | | #endif |
3650 | 3646 | } |
3651 | 3647 | |
3652 | 3648 | void |