summaryrefslogtreecommitdiffstats
path: root/forward.c
diff options
context:
space:
mode:
authorJan Just Keijser <janjust@nikhef.nl>2012-02-07 16:29:47 +0100
committerDavid Sommerseth <davids@redhat.com>2012-02-13 20:43:37 +0100
commit76809cae0eae07817160b423d3f9551df1a1d68e (patch)
tree7fc6813c4648040b3966a10ad2c5d441df649dbb /forward.c
parentbdf9ab751644ed22499e80ed69a37d14461a81ff (diff)
downloadopenvpn-76809cae0eae07817160b423d3f9551df1a1d68e.tar.gz
openvpn-76809cae0eae07817160b423d3f9551df1a1d68e.tar.xz
openvpn-76809cae0eae07817160b423d3f9551df1a1d68e.zip
Made some options connection-entry specific
The following options may now be used in a connection block: fragment mssfix tun-mtu tun-mtu-extra link-mtu mtu_discover_type explicit-exit-notification In order to support stuff like <connection> remote host proto udp fragment explicit-exit-notification 3 </connection> <connection> remote host proto tcp </connection> Signed-off-by: Jan Just Keijser <janjust@nikhef.nl> Acked-by: David Sommerseth <davids@redhat.com> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'forward.c')
-rw-r--r--forward.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/forward.c b/forward.c
index dfef4ef..96c6b9a 100644
--- a/forward.c
+++ b/forward.c
@@ -1005,7 +1005,7 @@ process_incoming_tun (struct context *c)
void
process_ipv4_header (struct context *c, unsigned int flags, struct buffer *buf)
{
- if (!c->options.mssfix)
+ if (!c->options.ce.mssfix)
flags &= ~PIPV4_MSSFIX;
#if PASSTOS_CAPABILITY
if (!c->options.passtos)