summaryrefslogtreecommitdiffstats
path: root/occ.c
diff options
context:
space:
mode:
Diffstat (limited to 'occ.c')
-rw-r--r--occ.c2
1 files changed, 1 insertions, 1 deletions
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