From d7f8d9597744f1e660a88ffc9363c3adea0ce457 Mon Sep 17 00:00:00 2001 From: Denis Ovsienko Date: Thu, 30 Aug 2018 15:25:59 +0100 Subject: [PATCH] RADIUS: constify a couple static arrays [skip ci] --- print-radius.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/print-radius.c b/print-radius.c index 13918a45..c723fd5a 100644 --- a/print-radius.c +++ b/print-radius.c @@ -458,7 +458,7 @@ static const struct tok errorcausetype[] = { #define IP4_TRANSPORT_SUPPORTED 0x0000800000000000 #define IP4_HOA_ONLY_SUPPORTED 0x0001000000000000 #define INTER_MAG_ROUTING_SUPPORTED 0x0002000000000000 -static struct mip6_feature_vector { +static const struct mip6_feature_vector { uint64_t v; const char *s; } mip6_feature_vector[] = { @@ -477,7 +477,7 @@ static struct mip6_feature_vector { }; -static struct attrtype { +static const struct attrtype { const char *name; /* Attribute name */ const char **subtypes; /* Standard Values (if any) */ u_char siz_subtypes; /* Size of total standard values */ -- 2.39.5