[PATCH] CLI "banner" command prints the version/revision string

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Aug 6 10:13:44 CEST 2012


In message <501E634D.1020407 at uplex.de>, Geoff Simmons writes:

>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.

I did it a little simpler:  All the component strings are constant
so there is no need for a VSB.

Thanks!
-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-dev mailing list