]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
ensure that openconnect_disable_{dtls,ipv6} do nothing if vpninfo has ever been connected
authorDaniel Lenski <dlenski@gmail.com>
Thu, 13 Jun 2019 15:53:27 +0000 (10:53 -0500)
committerDaniel Lenski <dlenski@gmail.com>
Sat, 20 Feb 2021 17:54:28 +0000 (09:54 -0800)
commit7e2129f8a906f3858dc3792e1519332bf26ced99
treec852464969a7991e7294648237613a1f68f39aad
parent131519468de50315ff02c41c02c7dce96e004145
ensure that openconnect_disable_{dtls,ipv6} do nothing if vpninfo has ever been connected

Both openconnect_disable_dtls() and openconnect_disable_ipv6() now return
int (0 or -EINVAL), and are used in CLI argument processing.

Ideally, we would allow these to be used when IPv6 or DTLS/ESP are not currently
in use, but we do not have sufficiently reliable cross-protocol indicators of these.
The main use case for both of these functions is disable a problematic feature
prior to initial connection.

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
gpst.c
java/src/org/infradead/libopenconnect/LibOpenConnect.java
jni.c
library.c
main.c
openconnect.h