ip: make flag names const/static

The table of filter flags is only used in ipaddress

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
Stephen Hemminger 2018-11-15 14:36:26 -08:00
parent d63786c642
commit 086277b591
1 changed files with 1 additions and 1 deletions

View File

@ -1149,7 +1149,7 @@ static unsigned int get_ifa_flags(struct ifaddrmsg *ifa,
}
/* Mapping from argument to address flag mask */
struct {
static const struct {
const char *name;
unsigned long value;
} ifa_flag_names[] = {