@@ -1,5 +1,5 @@
--- bin/varnishncsa/varnishncsa.c.orig 2008-11-07 19:30:50.000000000 +0100
-+++ bin/varnishncsa/varnishncsa.c 2008-11-07 19:46:01.000000000 +0100
++++ bin/varnishncsa/varnishncsa.c 2008-11-07 20:48:24.000000000 +0100
@@ -103,6 +103,7 @@
static size_t nll;
@@ -18,6 +18,24 @@
if (!lp->df_h && spec & VSL_S_BACKEND)
fprintf(fo, "127.0.0.1 ");
else if (lp->df_X_Forwarded_For && prefer_x_forwarded_for)
+@@ -511,7 +515,7 @@
+ usage(void)
+ {
+
+- fprintf(stderr, "usage: varnishncsa %s [-aDV] [-n varnish_name] [-P file] [-w file]\n", VSL_USAGE);
++ fprintf(stderr, "usage: varnishncsa %s [-aDvV] [-n varnish_name] [-P file] [-w file]\n", VSL_USAGE);
+ exit(1);
+ }
+
+@@ -529,7 +533,7 @@
+
+ vd = VSL_New();
+
+- while ((c = getopt(argc, argv, VSL_ARGS "aDn:P:Vw:f")) != -1) {
++ while ((c = getopt(argc, argv, VSL_ARGS "aDn:P:Vw:fv")) != -1) {
+ switch (c) {
+ case 'a':
+ a_flag = 1;
@@ -546,6 +550,9 @@
case 'P':
P_arg = optarg;
|