[master] a125b10 Discontinue backend.ip variable in VCL4.1

Poul-Henning Kamp phk at FreeBSD.org
Thu Mar 8 00:40:07 UTC 2018


commit a125b10d8e38a1dfc1c912b28189e687fd5d4c6a
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Mar 7 21:58:59 2018 +0000

    Discontinue backend.ip variable in VCL4.1

diff --git a/bin/varnishtest/tests/r01398.vtc b/bin/varnishtest/tests/r01398.vtc
index 3f929c3..5bedab4 100644
--- a/bin/varnishtest/tests/r01398.vtc
+++ b/bin/varnishtest/tests/r01398.vtc
@@ -1,6 +1,6 @@
 varnishtest "ticket 1398"
 
-varnish v1 -vcl {
+varnish v1 -syntax 4.0 -vcl {
 	backend foo {
 		.host = "${bad_backend}";
 	}
diff --git a/doc/sphinx/reference/vcl_var.rst b/doc/sphinx/reference/vcl_var.rst
index 7c18b36..8f20afc 100644
--- a/doc/sphinx/reference/vcl_var.rst
+++ b/doc/sphinx/reference/vcl_var.rst
@@ -849,7 +849,7 @@ beresp.backend.name
 	Same as beresp.backend.
 	
 
-beresp.backend.ip
+beresp.backend.ip	``VCL <= 4.0``
 
 	Type: IP
 


More information about the varnish-commit mailing list