summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6_var.h
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2013-06-17 18:02:25 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2013-06-17 18:02:25 +0000
commit9440ef4b35f66700755114e6509f782b4fd8a99c (patch)
treeb2c2257945104ab35276157018aad45f580aa8f1 /sys/netinet6/in6_var.h
parente1f6de03480d70dfec48fe3dd7a80101640b958f (diff)
Remove unused field ia_plen from struct in6_ifaddr. The prefix
length is always calculated on demand from ia_prefixmask. OK claudio@ mpi@ henning@
Diffstat (limited to 'sys/netinet6/in6_var.h')
-rw-r--r--sys/netinet6/in6_var.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet6/in6_var.h b/sys/netinet6/in6_var.h
index 357cacbef2a..5e316791fbd 100644
--- a/sys/netinet6/in6_var.h
+++ b/sys/netinet6/in6_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6_var.h,v 1.39 2013/03/25 14:40:57 mpi Exp $ */
+/* $OpenBSD: in6_var.h,v 1.40 2013/06/17 18:02:24 bluhm Exp $ */
/* $KAME: in6_var.h,v 1.55 2001/02/16 12:49:45 itojun Exp $ */
/*
@@ -104,7 +104,6 @@ struct in6_ifaddr {
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 */
- u_int32_t ia_plen; /* prefix length */
TAILQ_ENTRY(in6_ifaddr) ia_list; /* list of IP6 addresses */
LIST_HEAD(in6_multihead, in6_multi) ia6_multiaddrs;
/* list of multicast addresses */