aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2005-04-19 22:37:04 -0700
committerDavid S. Miller <davem@davemloft.net>2005-04-19 22:37:04 -0700
commit98f245e797a01611d6734c7d192240f1361439d3 (patch)
tree1b0c3ca312f7e38c065cfe9915d15efc1750d154 /net
parent[RTNETLINK]: Protocol family wildcard dumping for routing rules (diff)
downloadlinux-dev-98f245e797a01611d6734c7d192240f1361439d3.tar.xz
linux-dev-98f245e797a01611d6734c7d192240f1361439d3.zip
[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] =
[RTM_NEWNEIGH - RTM_BASE] = { .doit = neigh_add },
[RTM_DELNEIGH - RTM_BASE] = { .doit = neigh_delete },
[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)