[master] b733d48 Force filtering to client requests

Martin Blix Grydeland martin at varnish-software.com
Tue Feb 25 15:58:40 CET 2014


commit b733d48c62be51ca81273b326aafa7fe1e76c262
Author: Guillaume Quintard <guillaume.quintard at gmail.com>
Date:   Thu Feb 6 17:22:06 2014 +0100

    Force filtering to client requests

diff --git a/bin/varnishhist/varnishhist.c b/bin/varnishhist/varnishhist.c
index 0824b48..1fed60b 100644
--- a/bin/varnishhist/varnishhist.c
+++ b/bin/varnishhist/varnishhist.c
@@ -347,6 +347,8 @@ main(int argc, char **argv)
 	if (0)
 		(void)usage;
 
+	/* only client requests */
+	assert(VUT_Arg('c', NULL));
 	while ((i = getopt(argc, argv, vopt_optstring)) != -1) {
 		switch (i) {
 		case 'P':
diff --git a/bin/varnishhist/varnishhist_options.h b/bin/varnishhist/varnishhist_options.h
index 65301e5..5e595a3 100644
--- a/bin/varnishhist/varnishhist_options.h
+++ b/bin/varnishhist/varnishhist_options.h
@@ -46,8 +46,6 @@
 	    " (these are power of tens)"	\
 	)
 
-VSL_OPT_b
-VSL_OPT_c
 VSL_OPT_C
 VUT_OPT_d
 VUT_OPT_D



More information about the varnish-commit mailing list