From: claudio Date: Tue, 14 Feb 2023 11:46:08 +0000 (+0000) Subject: Add -mpls to the route monitor case. It is an allowed address family. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d765bd22e38f1c4745783a0830d2390631698bc5;p=openbsd Add -mpls to the route monitor case. It is an allowed address family. OK sthen@ florian@ --- 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) |