summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2016-07-13 08:40:47 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2016-07-13 08:40:47 +0000
commitf32428ef3ea79eefd8eb2d483c7a452aff5be8aa (patch)
tree92426a4fbeb9d7dde8fde801e2ac98b04f4ea2a0 /sys/net
parent9fc9082205665b1e1df61ad29f650cd7d123dfbd (diff)
Introduce RTF_MULTICAST and flag corresponding IPv6 routes as such
instead of abusing RTF_CLONING. Fix a leak reporeted by Aaron Riekenberg on misc@, ok sthen@
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/route.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/route.h b/sys/net/route.h
index 7e567cd918e..0e3eaf56107 100644
--- a/sys/net/route.h
+++ b/sys/net/route.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.h,v 1.140 2016/07/11 13:06:31 bluhm Exp $ */
+/* $OpenBSD: route.h,v 1.141 2016/07/13 08:40:46 mpi Exp $ */
/* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */
/*
@@ -130,7 +130,7 @@ struct rtentry {
#define RTF_DONE 0x40 /* message confirmed */
#define RTF_MASK 0x80 /* subnet mask present */
#define RTF_CLONING 0x100 /* generate new routes on use */
-/* 0x200 unused */
+#define RTF_MULTICAST 0x200 /* route associated to a mcast addr. */
#define RTF_LLINFO 0x400 /* generated by ARP or ND */
#define RTF_STATIC 0x800 /* manually added */
#define RTF_BLACKHOLE 0x1000 /* just discard pkts (during updates) */