net: constify MIB name tables

Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Alexey Dobriyan 2010-01-22 10:17:26 +00:00 • committed by David S. Miller
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),