2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Use PACKAGE_VERSION instead of 0.1 as the client and server version.

This commit is contained in:
Todd C. Miller
2020-05-18 11:33:13 -06:00
parent 8ef5c4cf9d
commit 84f0ae0cb8
2 changed files with 2 additions and 2 deletions

View File

@@ -83,7 +83,7 @@
TAILQ_HEAD(connection_list, connection_closure);
static struct connection_list connections = TAILQ_HEAD_INITIALIZER(connections);
static struct listener_list listeners = TAILQ_HEAD_INITIALIZER(listeners);
static const char server_id[] = "Sudo Audit Server 0.1";
static const char server_id[] = "Sudo Audit Server " PACKAGE_VERSION;
static const char *conf_file = _PATH_SUDO_LOGSRVD_CONF;
static double random_drop;

View File

@@ -329,7 +329,7 @@ fmt_client_hello(struct client_closure *closure)
debug_decl(fmt_client_hello, SUDO_DEBUG_UTIL);
sudo_debug_printf(SUDO_DEBUG_INFO, "%s: sending ClientHello", __func__);
hello_msg.client_id = "Sendlog Version 0.1";
hello_msg.client_id = "Sudo Sendlog " PACKAGE_VERSION;
/* Schedule ClientMessage */
client_msg.hello_msg = &hello_msg;