summaryrefslogtreecommitdiff
path: root/net/ipv6/addrconf.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-07-18 07:06:13 +0400
committerDavid S. Miller <davem@davemloft.net>2011-07-18 10:11:35 +0400
commit9cbb7ecbcff85077bb12301aaf4c9b5a56c5993d (patch)
tree585f03578c63503f81d03ba865207bdb9819d5c6 /net/ipv6/addrconf.c
parent8f40b161de4f27402b4c0659ad2ae83fad5a0cdd (diff)
downloadlinux-9cbb7ecbcff85077bb12301aaf4c9b5a56c5993d.tar.xz
ipv6: Get rid of rt6i_nexthop macro.
It just makes it harder to see 1) what the code is doing and 2) grep for all users of dst{->,.}neighbour Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r--net/ipv6/addrconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index fc6d37723664..48cd03df8954 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -656,7 +656,7 @@ ipv6_add_addr(struct inet6_dev *idev, const struct in6_addr *addr, int pfxlen,
* layer address of our nexhop router
*/
- if (rt->rt6i_nexthop == NULL)
+ if (rt->dst.neighbour == NULL)
ifa->flags &= ~IFA_F_OPTIMISTIC;
ifa->idev = idev;