dco: perform pull options check only if we pulled any option
The do_deferred_options() function is invoked also on the server side in
order to process all negotiated bits.
However, in this case we should not perform any pull options check, as
it's required only on the client side.
Move check within the "if (options.pull)" block to ensure we perform the
check only when required.
Reported-By: Gert Doering <gert@greenie.muc.de>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <
20220805150837.8169-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24824.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>