Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 invert u bit to convert EUI64 to RFC2373 interf...
details: https://anonhg.NetBSD.org/src/rev/da9eb0fe36b7
branches: trunk
changeset: 476713:da9eb0fe36b7
user: is <is%NetBSD.org@localhost>
date: Sat Sep 25 22:29:21 1999 +0000
description:
invert u bit to convert EUI64 to RFC2373 interface ID for ARCnet
diffstat:
sys/netinet6/in6_ifattach.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 8e9b794e201a -r da9eb0fe36b7 sys/netinet6/in6_ifattach.c
--- a/sys/netinet6/in6_ifattach.c Sat Sep 25 21:47:02 1999 +0000
+++ b/sys/netinet6/in6_ifattach.c Sat Sep 25 22:29:21 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in6_ifattach.c,v 1.10 1999/09/20 02:35:44 itojun Exp $ */
+/* $NetBSD: in6_ifattach.c,v 1.11 1999/09/25 22:29:21 is Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -366,6 +366,8 @@
laddr, 1) != 0) {
break;
}
+ /* invert u bit to convert EUI64 to RFC2373 interface ID. */
+ ia->ia_addr.sin6_addr.s6_addr8[8] ^= 0x02;
}
ia->ia_ifa.ifa_metric = ifp->if_metric;
Home |
Main Index |
Thread Index |
Old Index