Currently route monitor only accepts -inet and -inet6 as address family
but -mpls is also a valid option. It is the 3 routing tables we support.

OK?
-- 
:wq Claudio

Index: route.c
===================================================================
RCS file: /cvs/src/sbin/route/route.c,v
retrieving revision 1.261
diff -u -p -r1.261 route.c
--- route.c     22 Dec 2022 19:53:22 -0000      1.261
+++ route.c     14 Feb 2023 09:23:23 -0000
@@ -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) |

Reply via email to