From af611f93aa5040acc606ed289a873bf1136831c2 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Fri, 20 Jan 2023 15:55:47 +0100 Subject: BGP: Add received role value to role mismatch log message --- proto/bgp/bgp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/bgp/bgp.c') diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c index f4098e04..2e442e16 100644 --- a/proto/bgp/bgp.c +++ b/proto/bgp/bgp.c @@ -2363,7 +2363,7 @@ bgp_show_afis(int code, char *s, u32 *afis, uint count) cli_msg(code, b.start); } -static const char * +const char * bgp_format_role_name(u8 role) { static const char *bgp_role_names[] = { "provider", "rs_server", "rs_client", "customer", "peer" }; -- cgit v1.2.3