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:

committed by
David S. Miller

parent
81c1ebfc43
commit
5833929cc2
@@ -127,8 +127,8 @@ static const struct snmp_mib snmp4_ipextstats_list[] = {
|
||||
SNMP_MIB_SENTINEL
|
||||
};
|
||||
|
||||
static struct {
|
||||
char *name;
|
||||
static const struct {
|
||||
const char *name;
|
||||
int index;
|
||||
} icmpmibmap[] = {
|
||||
{ "DestUnreachs", ICMP_DEST_UNREACH },
|
||||
|
Reference in New Issue
Block a user