OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
240eed9
)
[RTNETLINK]: Add comma to final entry in link_rtnetlink_table
author
David S. Miller
<davem@davemloft.net>
Wed, 20 Apr 2005 05:37:04 +0000
(22:37 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 20 Apr 2005 05:37:04 +0000
(22:37 -0700)
Noticed by Herbert Xu.
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c
patch
|
blob
|
history
diff --git
a/net/core/rtnetlink.c
b/net/core/rtnetlink.c
index
15e968c
..
44dfaf8
100644
(file)
--- 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)