babeld: remove bogus config path print

This doesn't align with what the code actually loads, remove it.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
David Lamparter 2024-01-25 20:26:39 +01:00
parent bfd6d8ee19
commit f1ad2c4631

View file

@ -58,7 +58,6 @@ unsigned char protocol_group[16]; /* babel's link-local multicast address */
int protocol_port; /* babel's port */ int protocol_port; /* babel's port */
int protocol_socket = -1; /* socket: communicate with others babeld */ 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 char *babel_vty_addr = NULL;
static int babel_vty_port = BABEL_VTY_PORT; static int babel_vty_port = BABEL_VTY_PORT;
@ -368,7 +367,7 @@ show_babel_main_configuration (struct vty *vty)
"id = %s\n" "id = %s\n"
"kernel_metric = %d\n", "kernel_metric = %d\n",
state_file, state_file,
babeld_di.config_file ? babeld_di.config_file : babel_config_default, babeld_di.config_file,
format_address(protocol_group), format_address(protocol_group),
protocol_port, protocol_port,
babel_vty_addr ? babel_vty_addr : "None", babel_vty_addr ? babel_vty_addr : "None",