[master] ae72e904d varnishncsa: Pass the -b and -c options downstream

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Jan 18 16:06:07 UTC 2021


commit ae72e904d208997a2e2c514466dea9dc19baf204
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Fri Nov 13 15:33:33 2020 +0100

    varnishncsa: Pass the -b and -c options downstream

diff --git a/bin/varnishncsa/varnishncsa.c b/bin/varnishncsa/varnishncsa.c
index 1bdf8fb09..1d8fb46dd 100644
--- a/bin/varnishncsa/varnishncsa.c
+++ b/bin/varnishncsa/varnishncsa.c
@@ -1160,6 +1160,12 @@ main(int argc, char * const *argv)
 	if (!CTX.b_opt || CTX.E_opt)
 		CTX.c_opt = 1;
 
+	if (CTX.b_opt)
+		AN(VUT_Arg(vut, 'b', NULL));
+
+	if (CTX.c_opt)
+		AN(VUT_Arg(vut, 'c', NULL));
+
 	if (optind != argc)
 		VUT_Usage(vut, &vopt_spec, 1);
 


More information about the varnish-commit mailing list