Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289766
b: refs/heads/master
c: a7563f3
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Jan 26, 2012
1 parent d15c032 commit 9fe6853
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c85c21ad1fe18daf26bfe8684df974d88cec50b7
refs/heads/master: a7563f342db6490e66dbf2c8a50577a72a158c9a
3 changes: 1 addition & 2 deletions trunk/net/ipv6/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ static inline const void *choose_neigh_daddr(struct rt6_info *rt, const void *da
{
struct in6_addr *p = &rt->rt6i_gateway;

if (p->s6_addr32[0] | p->s6_addr32[1] |
p->s6_addr32[2] | p->s6_addr32[3])
if (!ipv6_addr_any(p))
return (const void *) p;
return daddr;
}
Expand Down

0 comments on commit 9fe6853

Please sign in to comment.