summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2016-09-01 10:41:09 +0000
committerbluhm <bluhm@openbsd.org>2016-09-01 10:41:09 +0000
commit029d4faec68493e17bd45c04b86a068078f8f498 (patch)
tree7a30570453d815e5eebfb5781e9da63d80acf277
parentLess lock contention by using more pools for mult-threaded programs. (diff)
downloadwireguard-openbsd-029d4faec68493e17bd45c04b86a068078f8f498.tar.xz
wireguard-openbsd-029d4faec68493e17bd45c04b86a068078f8f498.zip
Fix previous commit that displays all route flags with "route get".
The successor of octal 027 is 030 and not 028. Found by regress/sbin/route/rttest20.ok test.
-rw-r--r--sbin/route/route.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c
index 7ae5c105dd8..6cb31ab9d7b 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.187 2016/09/01 09:41:34 bluhm Exp $ */
+/* $OpenBSD: route.c,v 1.188 2016/09/01 10:41:09 bluhm Exp $ */
/* $NetBSD: route.c,v 1.16 1996/04/15 18:27:05 cgd Exp $ */
/*
@@ -1240,7 +1240,7 @@ char routeflags[] =
"\1UP\2GATEWAY\3HOST\4REJECT\5DYNAMIC\6MODIFIED\7DONE\010XMASK_PRESENT"
"\011CLONING\012MULTICAST\013LLINFO\014STATIC\015BLACKHOLE\016PROTO3\017PROTO2"
"\020PROTO1\021CLONED\022CACHED\023MPATH\025MPLS\026LOCAL\027BROADCAST"
-"\028CONNECTED";
+"\030CONNECTED";
char ifnetflags[] =
"\1UP\2BROADCAST\3DEBUG\4LOOPBACK\5PTP\6NOTRAILERS\7RUNNING\010NOARP\011PPROMISC"
"\012ALLMULTI\013OACTIVE\014SIMPLEX\015LINK0\016LINK1\017LINK2\020MULTICAST";