diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2016-08-31 21:32:07 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2016-08-31 21:32:07 +0000 |
commit | 7febf08f33aebb4a1f9528d962ce4c5067edc4f0 (patch) | |
tree | ae688679f31e9860b6004e62925b16c4b4ca8446 | |
parent | 24af558f5ce4979929bd5210935771efe940f288 (diff) |
Remove unused RTF_MASK route flag.
Requested by and OK mpi@
-rw-r--r-- | sbin/route/route.c | 4 | ||||
-rw-r--r-- | share/man/man4/route.4 | 5 | ||||
-rw-r--r-- | sys/net/route.h | 3 |
3 files changed, 5 insertions, 7 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c index 25202e78bdd..5294f763e18 100644 --- a/sbin/route/route.c +++ b/sbin/route/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.185 2016/08/26 06:04:10 guenther Exp $ */ +/* $OpenBSD: route.c,v 1.186 2016/08/31 21:32:06 bluhm Exp $ */ /* $NetBSD: route.c,v 1.16 1996/04/15 18:27:05 cgd Exp $ */ /* @@ -1237,7 +1237,7 @@ char *msgtypes[] = { char metricnames[] = "\011priority\010rttvar\7rtt\6ssthresh\5sendpipe\4recvpipe\3expire\2hopcount\1mtu"; char routeflags[] = -"\1UP\2GATEWAY\3HOST\4REJECT\5DYNAMIC\6MODIFIED\7DONE\010MASK_PRESENT\011CLONING" +"\1UP\2GATEWAY\3HOST\4REJECT\5DYNAMIC\6MODIFIED\7DONE\010XMASK_PRESENT\011CLONING" "\012XRESOLVE\013LLINFO\014STATIC\015BLACKHOLE\016PROTO3\017PROTO2\020PROTO1\021CLONED\023MPATH\025MPLS\026LOCAL\027BROADCAST"; char ifnetflags[] = "\1UP\2BROADCAST\3DEBUG\4LOOPBACK\5PTP\6NOTRAILERS\7RUNNING\010NOARP\011PPROMISC" diff --git a/share/man/man4/route.4 b/share/man/man4/route.4 index f7191b71c38..f26ad1fa884 100644 --- a/share/man/man4/route.4 +++ b/share/man/man4/route.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: route.4,v 1.41 2016/07/13 08:40:46 mpi Exp $ +.\" $OpenBSD: route.4,v 1.42 2016/08/31 21:32:06 bluhm Exp $ .\" $NetBSD: route.4,v 1.3 1994/11/30 16:22:31 jtc Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)route.4 8.6 (Berkeley) 4/19/94 .\" -.Dd $Mdocdate: July 13 2016 $ +.Dd $Mdocdate: August 31 2016 $ .Dt ROUTE 4 .Os .Sh NAME @@ -356,7 +356,6 @@ Flags include the values: #define RTF_DYNAMIC 0x10 /* created dynamically (by redirect) */ #define RTF_MODIFIED 0x20 /* modified dynamically (by redirect) */ #define RTF_DONE 0x40 /* message confirmed */ -#define RTF_MASK 0x80 /* subnet mask present */ #define RTF_CLONING 0x100 /* generate new routes on use */ #define RTF_MULTICAST 0x200 /* route associated to a mcast addr. */ #define RTF_LLINFO 0x400 /* generated by ARP or NDP */ diff --git a/sys/net/route.h b/sys/net/route.h index 50d6a4881d4..19dc972ea49 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -1,4 +1,4 @@ -/* $OpenBSD: route.h,v 1.143 2016/08/31 08:13:49 mpi Exp $ */ +/* $OpenBSD: route.h,v 1.144 2016/08/31 21:32:06 bluhm Exp $ */ /* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */ /* @@ -133,7 +133,6 @@ struct rtentry { #define RTF_DYNAMIC 0x10 /* created dynamically (by redirect) */ #define RTF_MODIFIED 0x20 /* modified dynamically (by redirect) */ #define RTF_DONE 0x40 /* message confirmed */ -#define RTF_MASK 0x80 /* subnet mask present */ #define RTF_CLONING 0x100 /* generate new routes on use */ #define RTF_MULTICAST 0x200 /* route associated to a mcast addr. */ #define RTF_LLINFO 0x400 /* generated by ARP or ND */ |