net: constify MIB name tables

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Alexey Dobriyan
2010-01-22 10:17:26 +00:00
committed by David S. Miller
parent 81c1ebfc43
commit 5833929cc2
5 changed files with 11 additions and 11 deletions

View File

@@ -15,7 +15,7 @@
#include <net/snmp.h>
#include <net/xfrm.h>
static struct snmp_mib xfrm_mib_list[] = {
static const struct snmp_mib xfrm_mib_list[] = {
SNMP_MIB_ITEM("XfrmInError", LINUX_MIB_XFRMINERROR),
SNMP_MIB_ITEM("XfrmInBufferError", LINUX_MIB_XFRMINBUFFERERROR),
SNMP_MIB_ITEM("XfrmInHdrError", LINUX_MIB_XFRMINHDRERROR),