[4.0] 2e75328 Use SLT_ReqAcct for length in varnishhist

Martin Blix Grydeland martin at varnish-software.com
Tue Apr 1 15:09:55 CEST 2014


commit 2e7532887c6304608d671095b3acc474751a7ab3
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date:   Sun Mar 30 20:59:26 2014 +0200

    Use SLT_ReqAcct for length in varnishhist

diff --git a/bin/varnishhist/varnishhist.c b/bin/varnishhist/varnishhist.c
index 91078d8..e8eb1ff 100644
--- a/bin/varnishhist/varnishhist.c
+++ b/bin/varnishhist/varnishhist.c
@@ -120,9 +120,9 @@ profiles[] = {
 		.hist_high = 3
 	}, {
 		.name = "size",
-		.tag = SLT_Length,
+		.tag = SLT_ReqAcct,
 		.prefix = NULL,
-		.field = 1,
+		.field = 5,
 		.hist_low = 1,
 		.hist_high = 8
 	}, {



More information about the varnish-commit mailing list