Trac: #1396, #128
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <
20210408120029.19438-2-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22078.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
o->pre_connect->ping_rec_timeout = o->ping_rec_timeout;
o->pre_connect->ping_rec_timeout_action = o->ping_rec_timeout_action;
o->pre_connect->ping_send_timeout = o->ping_send_timeout;
+
+ /* Miscellaneous Options */
+#ifdef USE_COMP
+ o->pre_connect->comp = o->comp;
+#endif
}
void
o->ping_rec_timeout = pp->ping_rec_timeout;
o->ping_rec_timeout_action = pp->ping_rec_timeout_action;
o->ping_send_timeout = pp->ping_send_timeout;
+
+ /* Miscellaneous Options */
+#ifdef USE_COMP
+ o->comp = pp->comp;
+#endif
}
o->push_continuation = 0;
int ping_rec_timeout_action;
int foreign_option_index;
+#ifdef USE_COMP
+ struct compress_options comp;
+#endif
};
#if !defined(ENABLE_CRYPTO_OPENSSL) && !defined(ENABLE_CRYPTO_MBEDTLS)