From f32428ef3ea79eefd8eb2d483c7a452aff5be8aa Mon Sep 17 00:00:00 2001 From: Martin Pieuchot Date: Wed, 13 Jul 2016 08:40:47 +0000 Subject: 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@ --- sys/net/route.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/net') 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) */ -- cgit v1.2.3