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 /vrrpd/vrrp_packet.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 'vrrpd/vrrp_packet.c')
-rw-r--r-- | vrrpd/vrrp_packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vrrpd/vrrp_packet.c b/vrrpd/vrrp_packet.c index 461310c1e..e4fee2d79 100644 --- a/vrrpd/vrrp_packet.c +++ b/vrrpd/vrrp_packet.c @@ -33,7 +33,7 @@ DEFINE_MTYPE_STATIC(VRRPD, VRRP_PKT, "VRRP packet") /* clang-format off */ -const char *vrrp_packet_names[16] = { +static const char *const vrrp_packet_names[16] = { [0] = "Unknown", [VRRP_TYPE_ADVERTISEMENT] = "ADVERTISEMENT", [2] = "Unknown", |