[4.1] aad70ce Fix the VSL Proxy tag documentation

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Tue Mar 1 12:00:42 CET 2016


commit aad70ce1452bea75b9d0360b515385fce99928cd
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Mon Feb 29 22:57:21 2016 +0100

    Fix the VSL Proxy tag documentation
    
    Both contents and formatting were off.

diff --git a/include/tbl/vsl_tags.h b/include/tbl/vsl_tags.h
index 56a9604..e1c946d 100644
--- a/include/tbl/vsl_tags.h
+++ b/include/tbl/vsl_tags.h
@@ -142,14 +142,14 @@ SLTM(HttpGarbage, SLT_F_BINARY, "Unparseable HTTP request",
 SLTM(Proxy, 0, "PROXY protocol information",
 	"PROXY protocol information.\n\n"
 	"The format is::\n\n"
-	"\t%d %s %d %s %d [key value]...\n"
-	"\t|  |  |  |  |  |\n"
-	"\t|  |  |  |  |  +- optional information\n"
+	"\t%d %s %d %s %d\n"
+	"\t|  |  |  |  |\n"
 	"\t|  |  |  |  +- server port\n"
-	"\t|  |  |  +- server ip\n"
-	"\t|  |  +- client port\n"
-	"\t|  +- client ip\n"
-	"\t+---- PROXY protocol version\n"
+	"\t|  |  |  +---- server ip\n"
+	"\t|  |  +------- client port\n"
+	"\t|  +---------- client ip\n"
+	"\t+------------- PROXY protocol version\n"
+	"\n"
 )
 
 SLTM(ProxyGarbage, 0, "Unparseable PROXY request",



More information about the varnish-commit mailing list