]> err.no Git - varnish/commitdiff
Add a protocol version number ("1.0") to the ping response.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 19 Jul 2008 10:40:13 +0000 (10:40 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 19 Jul 2008 10:40:13 +0000 (10:40 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2959 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/lib/libvarnish/cli_common.c

index 7fda74e0691645967374c5e0dd90d75f7b57af13..29605ffc057cd659a758ed79c38710f245d36595 100644 (file)
@@ -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);
 }