[RTNETLINK]: Add comma to final entry in link_rtnetlink_table
Noticed by Herbert Xu. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
240eed95eb
commit
98f245e797
@ -648,7 +648,7 @@ static struct rtnetlink_link link_rtnetlink_table[RTM_MAX-RTM_BASE+1] =
|
|||||||
[RTM_NEWNEIGH - RTM_BASE] = { .doit = neigh_add },
|
[RTM_NEWNEIGH - RTM_BASE] = { .doit = neigh_add },
|
||||||
[RTM_DELNEIGH - RTM_BASE] = { .doit = neigh_delete },
|
[RTM_DELNEIGH - RTM_BASE] = { .doit = neigh_delete },
|
||||||
[RTM_GETNEIGH - RTM_BASE] = { .dumpit = neigh_dump_info },
|
[RTM_GETNEIGH - RTM_BASE] = { .dumpit = neigh_dump_info },
|
||||||
[RTM_GETRULE - RTM_BASE] = { .dumpit = rtnetlink_dump_all }
|
[RTM_GETRULE - RTM_BASE] = { .dumpit = rtnetlink_dump_all },
|
||||||
};
|
};
|
||||||
|
|
||||||
static int rtnetlink_event(struct notifier_block *this, unsigned long event, void *ptr)
|
static int rtnetlink_event(struct notifier_block *this, unsigned long event, void *ptr)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user