summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2013-06-17 18:02:24 +0000
committerbluhm <bluhm@openbsd.org>2013-06-17 18:02:24 +0000
commit2af762ead9bfbbbdf0b7f8c27c83a98557ea82be (patch)
tree23f3177c45d5dfeeb9a6c14d45727d9f07c9d33c
parentm68k kernel memcpy/memmove/bcopy implementation in libkern, remove ovbcopy, fix for larger than 128k size copies. Parts from deraadt@, ok (and off-by-one fix) miod@ (diff)
downloadwireguard-openbsd-2af762ead9bfbbbdf0b7f8c27c83a98557ea82be.tar.xz
wireguard-openbsd-2af762ead9bfbbbdf0b7f8c27c83a98557ea82be.zip
Remove unused field ia_plen from struct in6_ifaddr. The prefix
length is always calculated on demand from ia_prefixmask. OK claudio@ mpi@ henning@
-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 */