Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78477
b: refs/heads/master
c: 3db8cda
h: refs/heads/master
i:
  78475: e6f398a
v: v3
  • Loading branch information
Joe Perches authored and David S. Miller committed Jan 28, 2008
1 parent 6c856ce commit dc63527
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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: 2658fa803111dae1353602e7f586de8e537803e2
refs/heads/master: 3db8cda362dced00caf19865ffda3fa1028c59bc
10 changes: 6 additions & 4 deletions trunk/include/net/addrconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,12 @@ static inline int ipv6_addr_is_ll_all_routers(const struct in6_addr *addr)

static inline int ipv6_isatap_eui64(u8 *eui, __be32 addr)
{
eui[0] = (ZERONET(addr) || PRIVATE_10(addr) || LOOPBACK(addr) ||
LINKLOCAL_169(addr) || PRIVATE_172(addr) || TEST_192(addr) ||
ANYCAST_6TO4(addr) || PRIVATE_192(addr) || TEST_198(addr) ||
MULTICAST(addr) || BADCLASS(addr)) ? 0x00 : 0x02;
eui[0] = (ipv4_is_zeronet(addr) || ipv4_is_private_10(addr) ||
ipv4_is_loopback(addr) || ipv4_is_linklocal_169(addr) ||
ipv4_is_private_172(addr) || ipv4_is_test_192(addr) ||
ipv4_is_anycast_6to4(addr) || ipv4_is_private_192(addr) ||
ipv4_is_test_198(addr) || ipv4_is_multicast(addr) ||
ipv4_is_badclass(addr)) ? 0x00 : 0x02;
eui[1] = 0;
eui[2] = 0x5E;
eui[3] = 0xFE;
Expand Down

0 comments on commit dc63527

Please sign in to comment.