diff options
author | Steven Whitehouse <steve@chygwyn.com> | 2006-08-09 18:56:46 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 17:54:15 -0400 |
commit | a8731cbf61c8768ea129780b70dc7dfc6795aad4 (patch) | |
tree | 82e177adc2b342d9943d1737f82fc1b205116b14 /net/decnet/dn_dev.c | |
parent | 8f491069b40be5d627007a343f99759e9da6a178 (diff) |
[DECNET]: Covert rules to use generic code
This patch converts the DECnet rules code to use the generic
rules system created by Thomas Graf <tgraf@suug.ch>.
Signed-off-by: Steven Whitehouse <steve@chygwyn.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/decnet/dn_dev.c')
-rw-r--r-- | net/decnet/dn_dev.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/decnet/dn_dev.c b/net/decnet/dn_dev.c index 632c5a90b589..88ea7a13bb24 100644 --- a/net/decnet/dn_dev.c +++ b/net/decnet/dn_dev.c | |||
@@ -46,6 +46,7 @@ | |||
46 | #include <net/neighbour.h> | 46 | #include <net/neighbour.h> |
47 | #include <net/dst.h> | 47 | #include <net/dst.h> |
48 | #include <net/flow.h> | 48 | #include <net/flow.h> |
49 | #include <net/fib_rules.h> | ||
49 | #include <net/dn.h> | 50 | #include <net/dn.h> |
50 | #include <net/dn_dev.h> | 51 | #include <net/dn_dev.h> |
51 | #include <net/dn_route.h> | 52 | #include <net/dn_route.h> |
@@ -1418,8 +1419,6 @@ static struct rtnetlink_link dnet_rtnetlink_table[RTM_NR_MSGTYPES] = | |||
1418 | [RTM_DELROUTE - RTM_BASE] = { .doit = dn_fib_rtm_delroute, }, | 1419 | [RTM_DELROUTE - RTM_BASE] = { .doit = dn_fib_rtm_delroute, }, |
1419 | [RTM_GETROUTE - RTM_BASE] = { .doit = dn_cache_getroute, | 1420 | [RTM_GETROUTE - RTM_BASE] = { .doit = dn_cache_getroute, |
1420 | .dumpit = dn_fib_dump, }, | 1421 | .dumpit = dn_fib_dump, }, |
1421 | [RTM_NEWRULE - RTM_BASE] = { .doit = dn_fib_rtm_newrule, }, | ||
1422 | [RTM_DELRULE - RTM_BASE] = { .doit = dn_fib_rtm_delrule, }, | ||
1423 | [RTM_GETRULE - RTM_BASE] = { .dumpit = dn_fib_dump_rules, }, | 1422 | [RTM_GETRULE - RTM_BASE] = { .dumpit = dn_fib_dump_rules, }, |
1424 | #else | 1423 | #else |
1425 | [RTM_GETROUTE - RTM_BASE] = { .doit = dn_cache_getroute, | 1424 | [RTM_GETROUTE - RTM_BASE] = { .doit = dn_cache_getroute, |