diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-03-29 19:09:57 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-03-29 19:09:57 +0000 |
commit | 4db72582aa548875de9a8b4046670e74900e74e9 (patch) | |
tree | f4b064b354155932b7b5a6711c6732cfecb54c52 /cmd-server-info.c | |
parent | 23fef99009dc21eee74865cdf66fb19822876055 (diff) |
Include protocol version.
Diffstat (limited to 'cmd-server-info.c')
-rw-r--r-- | cmd-server-info.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-server-info.c b/cmd-server-info.c index 5b3325f5..89d3d7da 100644 --- a/cmd-server-info.c +++ b/cmd-server-info.c @@ -1,4 +1,4 @@ -/* $Id: cmd-server-info.c,v 1.11 2009-03-29 10:51:50 nicm Exp $ */ +/* $Id: cmd-server-info.c,v 1.12 2009-03-29 19:09:57 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net> @@ -80,6 +80,7 @@ cmd_server_info_exec(unused struct cmd *self, struct cmd_ctx *ctx) ctx->print(ctx, "configuration file is %s", cfg_file); else ctx->print(ctx, "configuration file not specified"); + ctx->print(ctx, "protocol version is %d", PROTOCOL_VERSION); ctx->print(ctx, "%u clients, %u sessions", ARRAY_LENGTH(&clients), ARRAY_LENGTH(&sessions)); ctx->print(ctx, ""); |