summaryrefslogtreecommitdiff
path: root/sbin
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 /sbin
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 'sbin')
-rw-r--r--sbin/route/show.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/route/show.c b/sbin/route/show.c
index bcede302663..6c9d0b0e7e0 100644
--- a/sbin/route/show.c
+++ b/sbin/route/show.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: show.c,v 1.103 2015/11/27 16:26:52 benno Exp $ */
+/* $OpenBSD: show.c,v 1.104 2016/07/13 08:40:46 mpi Exp $ */
/* $NetBSD: show.c,v 1.1 1996/11/15 18:01:41 gwr Exp $ */
/*
@@ -78,8 +78,8 @@ static const struct bits bits[] = {
{ RTF_DYNAMIC, 'D' },
{ RTF_MODIFIED, 'M' },
{ RTF_DONE, 'd' }, /* Completed -- for routing messages only */
- { RTF_MASK, 'm' }, /* Mask Present -- for routing messages only */
{ RTF_CLONING, 'C' },
+ { RTF_MULTICAST,'m' },
{ RTF_LLINFO, 'L' },
{ RTF_STATIC, 'S' },
{ RTF_PROTO1, '1' },