diff options
Diffstat (limited to 'lib/route/rtnl.c')
-rw-r--r-- | lib/route/rtnl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/route/rtnl.c b/lib/route/rtnl.c index 2533674..26d1f67 100644 --- a/lib/route/rtnl.c +++ b/lib/route/rtnl.c @@ -52,7 +52,7 @@ int nl_rtgen_request(struct nl_sock *sk, int type, int family, int flags) * @{ */ -static struct trans_tbl rtntypes[] = { +static const struct trans_tbl rtntypes[] = { __ADD(RTN_UNSPEC,unspec) __ADD(RTN_UNICAST,unicast) __ADD(RTN_LOCAL,local) @@ -84,7 +84,7 @@ int nl_str2rtntype(const char *name) * @{ */ -static struct trans_tbl scopes[] = { +static const struct trans_tbl scopes[] = { __ADD(255,nowhere) __ADD(254,host) __ADD(253,link) |