r5111 - trunk/varnish-cache/bin/varnishd

phk at varnish-cache.org phk at varnish-cache.org
Sat Aug 21 14:00:59 CEST 2010


Author: phk
Date: 2010-08-21 14:00:59 +0200 (Sat, 21 Aug 2010)
New Revision: 5111

Modified:
   trunk/varnish-cache/bin/varnishd/mgt_cli.c
Log:
Emit varnishd ident as part of banner.



Modified: trunk/varnish-cache/bin/varnishd/mgt_cli.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_cli.c	2010-08-16 10:59:18 UTC (rev 5110)
+++ trunk/varnish-cache/bin/varnishd/mgt_cli.c	2010-08-21 12:00:59 UTC (rev 5111)
@@ -99,6 +99,8 @@
 	cli_out(cli, "-----------------------------\n");
 	cli_out(cli, "Varnish HTTP accelerator CLI.\n");
 	cli_out(cli, "-----------------------------\n");
+	cli_out(cli, "%s\n", vsb_data(vident) + 1);
+	cli_out(cli, "\n");
 	cli_out(cli, "Type 'help' for command list.\n");
 	cli_out(cli, "Type 'quit' to close CLI session.\n");
 	if (child_pid < 0)
@@ -154,7 +156,6 @@
 	char *q;
 	unsigned u;
 
-	(void)av;
 	(void)priv;
 	/*
 	 * Command not recognized in master, try cacher if it is




More information about the varnish-commit mailing list