diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2023-01-20 15:55:47 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2023-01-20 15:55:47 +0100 |
commit | af611f93aa5040acc606ed289a873bf1136831c2 (patch) | |
tree | dcd61f23c2fb91c7d60117e06aaff8943c2ecfa0 /proto/bgp/bgp.c | |
parent | 804916daa91834a4740edba96a43c7f0a43744b3 (diff) |
BGP: Add received role value to role mismatch log message
Diffstat (limited to 'proto/bgp/bgp.c')
-rw-r--r-- | proto/bgp/bgp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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" }; |