[master] b0e5182 Make the -b VCL-snippet use syntax 4.1

Poul-Henning Kamp phk at FreeBSD.org
Wed Mar 14 11:01:11 UTC 2018


commit b0e5182967cca22e45bcf91ae926b6c5543e4565
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Mar 14 10:46:36 2018 +0000

    Make the -b VCL-snippet use syntax 4.1

diff --git a/bin/varnishd/mgt/mgt_main.c b/bin/varnishd/mgt/mgt_main.c
index 4338fb0..05b4c61 100644
--- a/bin/varnishd/mgt/mgt_main.c
+++ b/bin/varnishd/mgt/mgt_main.c
@@ -592,7 +592,7 @@ main(int argc, char * const *argv)
 			REPLACE(fa->farg, "<-b argument>");
 			vsb = VSB_new_auto();
 			AN(vsb);
-			VSB_printf(vsb, "vcl 4.0;\n");
+			VSB_printf(vsb, "vcl 4.1;\n");
 			VSB_printf(vsb, "backend default {\n");
 			if (*optarg != '/')
 				VSB_printf(vsb, "    .host = \"%s\";\n",


More information about the varnish-commit mailing list