diff options
author | David Lamparter <equinox@diac24.net> | 2019-11-20 17:26:59 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2019-12-02 15:01:29 +0100 |
commit | 2b64873d24730882af68bdf2881aa380a3a8d17f (patch) | |
tree | 7bb835e81d96fc17ec5d1bed8bb5f5857a9673ad /bgpd/bgp_debug.c | |
parent | *: make frr_yang_module_info const (diff) | |
download | frr-2b64873d24730882af68bdf2881aa380a3a8d17f.tar.xz frr-2b64873d24730882af68bdf2881aa380a3a8d17f.zip |
*: generously apply const
const const const your boat, merrily down the stream...
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'bgpd/bgp_debug.c')
-rw-r--r-- | bgpd/bgp_debug.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c index 0e4c3a3e1..f716c4f30 100644 --- a/bgpd/bgp_debug.c +++ b/bgpd/bgp_debug.c @@ -101,7 +101,7 @@ const struct message bgp_status_msg[] = {{Idle, "Idle"}, {0}}; /* BGP message type string. */ -const char *bgp_type_str[] = {NULL, "OPEN", "UPDATE", +const char *const bgp_type_str[] = {NULL, "OPEN", "UPDATE", "NOTIFICATION", "KEEPALIVE", "ROUTE-REFRESH", "CAPABILITY"}; @@ -169,8 +169,8 @@ static const struct message bgp_notify_capability_msg[] = { {0}}; /* Origin strings. */ -const char *bgp_origin_str[] = {"i", "e", "?"}; -const char *bgp_origin_long_str[] = {"IGP", "EGP", "incomplete"}; +const char *const bgp_origin_str[] = {"i", "e", "?"}; +const char *const bgp_origin_long_str[] = {"IGP", "EGP", "incomplete"}; static int bgp_debug_print_evpn_prefix(struct vty *vty, const char *desc, struct prefix *p); |