From e2ad4e6d43fcdaf9c18e71dc813742fde011765f Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 19 Jul 2008 10:40:13 +0000 Subject: [PATCH] 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 --- varnish-cache/lib/libvarnish/cli_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5