diff options
author | Patrick McHardy <kaber@trash.net> | 2006-08-05 05:20:42 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 17:53:56 -0400 |
commit | d7aba67f814729647c938ac6da2d5224b790f926 (patch) | |
tree | a33704e2b4bf5276ddf9b664c0145e0f4b498c25 | |
parent | 394f545db6e7e4d7a6a2fa3f543b755ca39d58ac (diff) |
[IPV6]: Fix thinko in rt6_fill_node
This looks like a mistake, the table ID is overwritten again.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/ipv6/route.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 438977e2085d..ff5affe2636c 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
@@ -1902,7 +1902,6 @@ static int rt6_fill_node(struct sk_buff *skb, struct rt6_info *rt, | |||
1902 | rtm->rtm_table = rt->rt6i_table->tb6_id; | 1902 | rtm->rtm_table = rt->rt6i_table->tb6_id; |
1903 | else | 1903 | else |
1904 | rtm->rtm_table = RT6_TABLE_UNSPEC; | 1904 | rtm->rtm_table = RT6_TABLE_UNSPEC; |
1905 | rtm->rtm_table = RT_TABLE_MAIN; | ||
1906 | if (rt->rt6i_flags&RTF_REJECT) | 1905 | if (rt->rt6i_flags&RTF_REJECT) |
1907 | rtm->rtm_type = RTN_UNREACHABLE; | 1906 | rtm->rtm_type = RTN_UNREACHABLE; |
1908 | else if (rt->rt6i_dev && (rt->rt6i_dev->flags&IFF_LOOPBACK)) | 1907 | else if (rt->rt6i_dev && (rt->rt6i_dev->flags&IFF_LOOPBACK)) |