parent
0f49f866c6
commit
16c2f5115a
@ -1,36 +0,0 @@
|
|||||||
From a061a8e9adcda6c3a6ae39a82f87da13fc9ee207 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Maxim Storchak <m.storchak@gmail.com>
|
|
||||||
Date: Tue, 5 Apr 2022 13:23:06 +0300
|
|
||||||
Subject: [PATCH] Set loglevel as soon as it's known
|
|
||||||
|
|
||||||
Fixes #401
|
|
||||||
|
|
||||||
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
|
|
||||||
---
|
|
||||||
main.c | 3 ++-
|
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/main.c b/main.c
|
|
||||||
index 166121f2..f382069e 100644
|
|
||||||
--- a/main.c
|
|
||||||
+++ b/main.c
|
|
||||||
@@ -2155,6 +2155,8 @@ int main(int argc, char **argv)
|
|
||||||
if (vpninfo->dump_http_traffic && verbose < PRG_DEBUG)
|
|
||||||
verbose = PRG_DEBUG;
|
|
||||||
|
|
||||||
+ openconnect_set_loglevel(vpninfo, verbose);
|
|
||||||
+
|
|
||||||
if (autoproxy) {
|
|
||||||
#ifdef LIBPROXY_HDR
|
|
||||||
vpninfo->proxy_factory = px_proxy_factory_new();
|
|
||||||
@@ -2291,7 +2293,6 @@ int main(int argc, char **argv)
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
- openconnect_set_loglevel(vpninfo, verbose);
|
|
||||||
openconnect_set_setup_tun_handler(vpninfo, fully_up_cb);
|
|
||||||
openconnect_set_stats_handler(vpninfo, print_connection_stats);
|
|
||||||
|
|
||||||
--
|
|
||||||
2.25.1
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
|||||||
SHA512 (openconnect-8.20.tar.gz) = 76f5e49948391397ea1f7d2fca5798731f4278fee74c3da9b0f0daba6c386ce79ec5d87d40b6d3d99bb2528a038b5a2076df4159bb29c52cba62efb2ca52c8ab
|
SHA512 (openconnect-9.01.tar.gz) = b7428847a90f8ca9d1f1f61653c1f2486f0a07989f3b7435b746c5e901998194f4ee2b4f9569a548a23bba368bb1e9f273674c0759aac9df30208d2a6a303c34
|
||||||
SHA512 (openconnect-8.20.tar.gz.asc) = 82bb28c4ab5b8e07f89a1e2a3860a359ef8266637cee47f0905f70631f0bfe3bb37ac5c98746694a38bcadcbb4a35b7d2c4872f0573adce8b2c950dfe9c6fe1b
|
SHA512 (openconnect-9.01.tar.gz.asc) = 246167336adf5b9294b6e43bc9f758cd0dd4e322c5e34c608611574ab5f2f2157c492fc7471f61fe846327c3d965649602a7ef46cd66e53c8228173d6a77b6dc
|
||||||
|
Loading…
Reference in new issue