aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2005-04-20 01:37:04 -0400
committerDavid S. Miller <davem@davemloft.net>2005-04-20 01:37:04 -0400
commit98f245e797a01611d6734c7d192240f1361439d3 (patch)
tree1b0c3ca312f7e38c065cfe9915d15efc1750d154 /net
parent240eed95eb55b43a3daadbf0cd7298f44eaa737c (diff)
[RTNETLINK]: Add comma to final entry in link_rtnetlink_table
Noticed by Herbert Xu. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/core/rtnetlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index 15e968c697cc..44dfaf8f04af 100644
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
@@ -648,7 +648,7 @@ static struct rtnetlink_link link_rtnetlink_table[RTM_MAX-RTM_BASE+1] =
648 [RTM_NEWNEIGH - RTM_BASE] = { .doit = neigh_add }, 648 [RTM_NEWNEIGH - RTM_BASE] = { .doit = neigh_add },
649 [RTM_DELNEIGH - RTM_BASE] = { .doit = neigh_delete }, 649 [RTM_DELNEIGH - RTM_BASE] = { .doit = neigh_delete },
650 [RTM_GETNEIGH - RTM_BASE] = { .dumpit = neigh_dump_info }, 650 [RTM_GETNEIGH - RTM_BASE] = { .dumpit = neigh_dump_info },
651 [RTM_GETRULE - RTM_BASE] = { .dumpit = rtnetlink_dump_all } 651 [RTM_GETRULE - RTM_BASE] = { .dumpit = rtnetlink_dump_all },
652}; 652};
653 653
654static int rtnetlink_event(struct notifier_block *this, unsigned long event, void *ptr) 654static int rtnetlink_event(struct notifier_block *this, unsigned long event, void *ptr)