mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-04 08:15:15 +00:00
Use PACKAGE_VERSION instead of 0.1 as the client and server version.
This commit is contained in:
@@ -83,7 +83,7 @@
|
|||||||
TAILQ_HEAD(connection_list, connection_closure);
|
TAILQ_HEAD(connection_list, connection_closure);
|
||||||
static struct connection_list connections = TAILQ_HEAD_INITIALIZER(connections);
|
static struct connection_list connections = TAILQ_HEAD_INITIALIZER(connections);
|
||||||
static struct listener_list listeners = TAILQ_HEAD_INITIALIZER(listeners);
|
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 const char *conf_file = _PATH_SUDO_LOGSRVD_CONF;
|
||||||
static double random_drop;
|
static double random_drop;
|
||||||
|
|
||||||
|
@@ -329,7 +329,7 @@ fmt_client_hello(struct client_closure *closure)
|
|||||||
debug_decl(fmt_client_hello, SUDO_DEBUG_UTIL);
|
debug_decl(fmt_client_hello, SUDO_DEBUG_UTIL);
|
||||||
|
|
||||||
sudo_debug_printf(SUDO_DEBUG_INFO, "%s: sending ClientHello", __func__);
|
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 */
|
/* Schedule ClientMessage */
|
||||||
client_msg.hello_msg = &hello_msg;
|
client_msg.hello_msg = &hello_msg;
|
||||||
|
Reference in New Issue
Block a user