From f1ad2c46318a009c69e93f3bb8fd1391906f454e Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Thu, 25 Jan 2024 20:26:39 +0100 Subject: [PATCH] babeld: remove bogus config path print This doesn't align with what the code actually loads, remove it. Signed-off-by: David Lamparter --- babeld/babel_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/babeld/babel_main.c b/babeld/babel_main.c index ac4d45137c..10ab1b53c3 100644 --- a/babeld/babel_main.c +++ b/babeld/babel_main.c @@ -58,7 +58,6 @@ unsigned char protocol_group[16]; /* babel's link-local multicast address */ int protocol_port; /* babel's port */ int protocol_socket = -1; /* socket: communicate with others babeld */ -static const char babel_config_default[] = SYSCONFDIR BABEL_DEFAULT_CONFIG; static char *babel_vty_addr = NULL; static int babel_vty_port = BABEL_VTY_PORT; @@ -368,7 +367,7 @@ show_babel_main_configuration (struct vty *vty) "id = %s\n" "kernel_metric = %d\n", state_file, - babeld_di.config_file ? babeld_di.config_file : babel_config_default, + babeld_di.config_file, format_address(protocol_group), protocol_port, babel_vty_addr ? babel_vty_addr : "None",