diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-06-11 10:48:50 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-06-11 10:48:50 +0000 |
commit | 4e9a51d78ffa0696cf7d14ff0292ca8863689f70 (patch) | |
tree | 0509760011393888bddef1bfc0330d6a5b670671 /occ.c | |
parent | Updated version to 2.1_rc7e. (diff) | |
download | openvpn-4e9a51d78ffa0696cf7d14ff0292ca8863689f70.tar.xz |
Merged connection profiles from
http://svn.openvpn.net/projects/openvpn/test/conn
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2993 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'occ.c')
-rw-r--r-- | occ.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -149,7 +149,7 @@ check_send_occ_req_dowork (struct context *c) { if (++c->c2.occ_n_tries >= OCC_N_TRIES) { - if (c->options.remote_list) + if (c->options.ce.remote) /* * No OCC_REPLY from peer after repeated attempts. * Give up. @@ -369,7 +369,7 @@ process_received_occ_msg (struct context *c) c->c2.max_send_size_remote, c->c2.max_recv_size_local); if (!c->options.fragment - && c->options.proto == PROTO_UDPv4 + && c->options.ce.proto == PROTO_UDPv4 && c->c2.max_send_size_local > TUN_MTU_MIN && (c->c2.max_recv_size_remote < c->c2.max_send_size_local || c->c2.max_recv_size_local < c->c2.max_send_size_remote)) |