diff options
author | Thomas Graf <tgraf@suug.ch> | 2010-11-17 15:09:08 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2010-11-17 15:09:08 (GMT) |
commit | cf5577d280b59411ff77da727812465a4a01f4d7 (patch) | |
tree | de94591e7ed2c73a306a33224c0da76125de9973 /lib/route/link/inet.c | |
parent | 98ffedec040226169d66af210f8b580a41e4d201 (diff) | |
download | libnl-cf5577d280b59411ff77da727812465a4a01f4d7.zip libnl-cf5577d280b59411ff77da727812465a4a01f4d7.tar.gz libnl-cf5577d280b59411ff77da727812465a4a01f4d7.tar.bz2 |
constify struct trans_tbl
Diffstat (limited to 'lib/route/link/inet.c')
-rw-r--r-- | lib/route/link/inet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/route/link/inet.c b/lib/route/link/inet.c index 68afa45..9a82a8b 100644 --- a/lib/route/link/inet.c +++ b/lib/route/link/inet.c @@ -132,7 +132,7 @@ nla_put_failure: return -NLE_MSGSIZE; } -static struct trans_tbl inet_devconf[] = { +static const struct trans_tbl inet_devconf[] = { __ADD(IPV4_DEVCONF_FORWARDING, forwarding) __ADD(IPV4_DEVCONF_MC_FORWARDING, mc_forwarding) __ADD(IPV4_DEVCONF_PROXY_ARP, proxy_arp) |