From: phk Date: Sat, 19 Jul 2008 10:40:13 +0000 (+0000) Subject: Add a protocol version number ("1.0") to the ping response. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2ad4e6d43fcdaf9c18e71dc813742fde011765f;p=varnish Add a protocol version number ("1.0") to the ping response. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2959 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/lib/libvarnish/cli_common.c b/varnish-cache/lib/libvarnish/cli_common.c index 7fda74e0..29605ffc 100644 --- a/varnish-cache/lib/libvarnish/cli_common.c +++ b/varnish-cache/lib/libvarnish/cli_common.c @@ -191,5 +191,5 @@ cli_func_ping(struct cli *cli, const char * const *av, void *priv) (void)priv; (void)av; t = time(NULL); - cli_out(cli, "PONG %ld", t); + cli_out(cli, "PONG %ld 1.0", t); }