diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-03-27 10:39:24 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-03-27 10:39:24 +0000 |
commit | aae25658bc1380b4a14aca6bf7f930c2894149a8 (patch) | |
tree | dba50823ed1e17cb568556e24641bc4ad5dfa56c /sys/netinet6/in6_var.h | |
parent | f717b944041261c893a2722a34efda2347534d69 (diff) |
Stop mixing interface address flags with routing entry ones.
Instead of always copying ifa_flags to the routing entry flags when
creating a route by calling rtinit(), explicitly pass the RTF_CLONING
flag when required. This means ifa_flags are now *only* used to check
if an address has an associated route that was created by the kernel
auto-magically.
ok benno@
Diffstat (limited to 'sys/netinet6/in6_var.h')
-rw-r--r-- | sys/netinet6/in6_var.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/in6_var.h b/sys/netinet6/in6_var.h index 56eef418e44..7ce3d7f76de 100644 --- a/sys/netinet6/in6_var.h +++ b/sys/netinet6/in6_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in6_var.h,v 1.47 2014/01/21 10:18:26 mpi Exp $ */ +/* $OpenBSD: in6_var.h,v 1.48 2014/03/27 10:39:23 mpi Exp $ */ /* $KAME: in6_var.h,v 1.55 2001/02/16 12:49:45 itojun Exp $ */ /* @@ -99,7 +99,7 @@ struct in6_ifextra { struct in6_ifaddr { struct ifaddr ia_ifa; /* protocol-independent info */ #define ia_ifp ia_ifa.ifa_ifp -#define ia_flags ia_ifa.ifa_flags +#define ia_flags ia_ifa.ifa_flags struct sockaddr_in6 ia_addr; /* interface address */ struct sockaddr_in6 ia_net; /* network number of interface */ |