[PATCH] Enable --verbose when --dump-http-traffic is passed

Murilo Opsfelder Araujo muriloo at linux.vnet.ibm.com
Tue Jun 4 10:22:53 EDT 2013


Documentation suggests that --verbose is implied when --dump-http-traffic is
passed (see commit f739310d94686bfeecaeadac07fdfd31bb41cc69).

Signed-off-by: Murilo Opsfelder Araujo <muriloo at linux.vnet.ibm.com>
---
 main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/main.c b/main.c
index 5ddd9b8..49d102f 100644
--- a/main.c
+++ b/main.c
@@ -710,6 +710,8 @@ int main(int argc, char **argv)
 			break;
 		case OPT_DUMP_HTTP:
 			vpninfo->dump_http_traffic = 1;
+			verbose = PRG_TRACE;
+			break;
 		case 'v':
 			verbose = PRG_TRACE;
 			break;
-- 
1.8.3.187.gb5c2675




More information about the openconnect-devel mailing list