summaryrefslogtreecommitdiff
path: root/sys/netinet6
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-09-01 17:21:37 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-09-01 17:21:37 +0000
commit3e8af80c5474d7f8af10c262c90002f55ce630bd (patch)
treec0b67dcac59468364ed20c3a1ed67ddedc5ed604 /sys/netinet6
parenta35cd7401549136b597e78036d17481082ed789c (diff)
Kill unused ``ia_net'' field in the struct in6_ifaddr, bad copy
paste from the IPv4 time. While here update the comment about ``ia6_ndpr'' it's now only used for autoconf.
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/in6_var.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet6/in6_var.h b/sys/netinet6/in6_var.h
index e4f4ae98ba0..4024271c328 100644
--- a/sys/netinet6/in6_var.h
+++ b/sys/netinet6/in6_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6_var.h,v 1.53 2015/08/24 15:58:35 mpi Exp $ */
+/* $OpenBSD: in6_var.h,v 1.54 2015/09/01 17:21:36 mpi Exp $ */
/* $KAME: in6_var.h,v 1.55 2001/02/16 12:49:45 itojun Exp $ */
/*
@@ -103,7 +103,6 @@ struct in6_ifaddr {
#define ia_flags ia_ifa.ifa_flags
struct sockaddr_in6 ia_addr; /* interface address */
- struct sockaddr_in6 ia_net; /* network number of interface */
struct sockaddr_in6 ia_dstaddr; /* space for destination addr */
struct sockaddr_in6 ia_prefixmask; /* prefix mask */
TAILQ_ENTRY(in6_ifaddr) ia_list; /* list of IP6 addresses */
@@ -115,7 +114,7 @@ struct in6_ifaddr {
*/
time_t ia6_updatetime;
- /* back pointer to the prefix (for all addresses, not just autoconf) */
+ /* back pointer to the prefix (for autoconf) */
struct nd_prefix *ia6_ndpr;
/* multicast addresses joined from the kernel */