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 /ospf6d/ospf6_route.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 'ospf6d/ospf6_route.c')
-rw-r--r-- | ospf6d/ospf6_route.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ospf6d/ospf6_route.c b/ospf6d/ospf6_route.c index 441a6f367..28b15769d 100644 --- a/ospf6d/ospf6_route.c +++ b/ospf6d/ospf6_route.c @@ -147,19 +147,19 @@ void ospf6_linkstate_prefix2str(struct prefix *prefix, char *buf, int size) } /* Global strings for logging */ -const char *ospf6_dest_type_str[OSPF6_DEST_TYPE_MAX] = { +const char *const ospf6_dest_type_str[OSPF6_DEST_TYPE_MAX] = { "Unknown", "Router", "Network", "Discard", "Linkstate", "AddressRange", }; -const char *ospf6_dest_type_substr[OSPF6_DEST_TYPE_MAX] = { +const char *const ospf6_dest_type_substr[OSPF6_DEST_TYPE_MAX] = { "?", "R", "N", "D", "L", "A", }; -const char *ospf6_path_type_str[OSPF6_PATH_TYPE_MAX] = { +const char *const ospf6_path_type_str[OSPF6_PATH_TYPE_MAX] = { "Unknown", "Intra-Area", "Inter-Area", "External-1", "External-2", }; -const char *ospf6_path_type_substr[OSPF6_PATH_TYPE_MAX] = { +const char *const ospf6_path_type_substr[OSPF6_PATH_TYPE_MAX] = { "??", "IA", "IE", "E1", "E2", }; |