summaryrefslogtreecommitdiff
path: root/sbin/route
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2023-02-14 11:46:09 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2023-02-14 11:46:09 +0000
commitcde326790f74fac62a3e47a884d609eb5c700f57 (patch)
treeae722d01bc727d31476f31ae1c74b3a5b1640eb3 /sbin/route
parente0a896df23e0c8c7edd697e54c441f64e0858fb0 (diff)
Add -mpls to the route monitor case. It is an allowed address family.
OK sthen@ florian@
Diffstat (limited to 'sbin/route')
-rw-r--r--sbin/route/route.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c
index 05645a6c9e9..5a6679a9051 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.261 2022/12/22 19:53:22 kn Exp $ */
+/* $OpenBSD: route.c,v 1.262 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) |