[PATCH] CLI "banner" command prints the version/revision string
Geoff Simmons
geoff at uplex.de
Sun Aug 5 14:13:01 CEST 2012
Hello all,
The enclosed patch saves the version string in a vsb, which is retrieved
in both version.c and mgt_cli.c for the "banner" command.
Best,
Geoff
$ varnishadm -T 127.0.0.1:6082 banner
-----------------------------
Varnish Cache CLI 1.0
-----------------------------
varnish-trunk revision f81aedd
-sfile,-smalloc,-hcritbit
Type 'help' for command list.
Type 'quit' to close CLI session.
--
** * * UPLEX - Nils Goroll Systemoptimierung
Scheffelstraße 32 (ACHTUNG: neue Adresse)
22301 Hamburg
Tel +49 40 2880 5731
Mob +49 176 636 90917
Fax +49 40 42949753
http://uplex.de
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: banner.patch
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20120805/bac497a6/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 896 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20120805/bac497a6/attachment.pgp>
More information about the varnish-dev
mailing list