]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Use separate list for per-client push options
authorLev Stipakov <lstipakov@gmail.com>
Tue, 11 Oct 2016 08:03:50 +0000 (11:03 +0300)
committerDavid Sommerseth <davids@openvpn.net>
Tue, 11 Oct 2016 12:13:06 +0000 (14:13 +0200)
commit88c4b9d6ad1d346931d9090b247e9e3d2d86bce7
tree4d74ab9467167f9daf3f0a11b41a0c4451591239
parent8ba3e25897af5c7bd7b4f706961e9528d6988d83
Use separate list for per-client push options

v4:
 - fix whitespaces, wrap long lines

v3:
 - rebase on master

v2:
 - Also move ifconfig and ipv6-ifconfig to separate options list

Move client-specific push options (currently peer-id and cipher) to
separate list, which is deallocated after push_reply
has been send. This makes sure that options fit into buf,
not duplicated nor leak memory on renegotiation.

Signed-off-by: Lev Stipakov <lstipakov@gmail.com>
Acked-by: Steffan Karger <steffan@karger.me>
Message-Id: <1476173030-2171-1-git-send-email-lstipakov@gmail.com>
URL: http://www.mail-archive.com/search?l=mid&q=1476173030-2171-1-git-send-email-lstipakov@gmail.com
Signed-off-by: David Sommerseth <davids@openvpn.net>
src/openvpn/push.c