summaryrefslogtreecommitdiffstats
path: root/openvpn.h
diff options
context:
space:
mode:
authorJames Yonan <james@openvpn.net>2011-03-18 04:51:59 +0000
committerDavid Sommerseth <dazo@users.sourceforge.net>2011-04-26 22:29:11 +0200
commitff65da3a230b658b2c1d52dc1a48612e80a2eb42 (patch)
tree6c5a7b07a5e749cfbd88173ac069736e8065045c /openvpn.h
parenta74b741b6114d29ad68766139dbcd9dfcf715c4a (diff)
downloadopenvpn-ff65da3a230b658b2c1d52dc1a48612e80a2eb42.tar.gz
openvpn-ff65da3a230b658b2c1d52dc1a48612e80a2eb42.tar.xz
openvpn-ff65da3a230b658b2c1d52dc1a48612e80a2eb42.zip
Fixed issue where a client might receive multiple push replies from
a server if it sent multiple push requests due to the server being slow to respond. This could cause the client to process pushed options twice, leading to duplicate pushed routes, among other issues. The fix, implemented server-side, is to reply only once to a push request even if multiple requests are received. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7060 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'openvpn.h')
-rw-r--r--openvpn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openvpn.h b/openvpn.h
index 0c4ff1a..47c9734 100644
--- a/openvpn.h
+++ b/openvpn.h
@@ -414,6 +414,7 @@ struct context_2
/* --ifconfig endpoints to be pushed to client */
bool push_reply_deferred;
bool push_ifconfig_defined;
+ bool sent_push_reply;
in_addr_t push_ifconfig_local;
in_addr_t push_ifconfig_remote_netmask;
#ifdef ENABLE_CLIENT_NAT