artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
715494a
)
Add -mpls to the route monitor case. It is an allowed address family.
author
claudio
<claudio@openbsd.org>
Tue, 14 Feb 2023 11:46:08 +0000
(11:46 +0000)
committer
claudio
<claudio@openbsd.org>
Tue, 14 Feb 2023 11:46:08 +0000
(11:46 +0000)
OK sthen@ florian@
sbin/route/route.c
patch
|
blob
|
history
diff --git
a/sbin/route/route.c
b/sbin/route/route.c
index
05645a6
..
5a6679a
100644
(file)
--- a/
sbin/route/route.c
+++ b/
sbin/route/route.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: route.c,v 1.26
1 2022/12/22 19:53:22 kn Exp $
*/
+/* $OpenBSD: route.c,v 1.26
2 2023/02/14 11:46:08 claudio Exp $
*/
/* $NetBSD: route.c,v 1.16 1996/04/15 18:27:05 cgd Exp $ */
/*
@@
-221,6
+221,9
@@
main(int argc, char **argv)
case K_INET6:
af = AF_INET6;
break;
+ case K_MPLS:
+ af = AF_MPLS;
+ break;
case K_IFACE:
case K_INTERFACE:
filter = ROUTE_FILTER(RTM_IFINFO) |