From 76809cae0eae07817160b423d3f9551df1a1d68e Mon Sep 17 00:00:00 2001 From: Jan Just Keijser Date: Tue, 7 Feb 2012 16:29:47 +0100 Subject: 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 remote host proto udp fragment explicit-exit-notification 3 remote host proto tcp Signed-off-by: Jan Just Keijser Acked-by: David Sommerseth Signed-off-by: David Sommerseth --- occ.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'occ.c') diff --git a/occ.c b/occ.c index bcf91cc..2fdbff0 100644 --- a/occ.c +++ b/occ.c @@ -368,7 +368,7 @@ process_received_occ_msg (struct context *c) c->c2.max_recv_size_remote, c->c2.max_send_size_remote, c->c2.max_recv_size_local); - if (!c->options.fragment + if (!c->options.ce.fragment && (proto_is_dgram(c->options.ce.proto)) && c->c2.max_send_size_local > TUN_MTU_MIN && (c->c2.max_recv_size_remote < c->c2.max_send_size_local -- cgit