From c27b2449d1f57e780974ed13fbd572a48e2a3602 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Mon, 8 Feb 2010 16:01:03 +0100 Subject: Shows source (Router ID) for OSPF routes and adds such attribute. A sad thing is that we does not have a 'router_id' filter type, so it must be given as decimal number in filters. --- nest/route.h | 1 + 1 file changed, 1 insertion(+) (limited to 'nest') diff --git a/nest/route.h b/nest/route.h index e45a8c6..99803e7 100644 --- a/nest/route.h +++ b/nest/route.h @@ -166,6 +166,7 @@ typedef struct rte { struct { u32 metric1, metric2; /* OSPF Type 1 and Type 2 metrics */ u32 tag; /* External route tag */ + u32 router_id; /* Router that originated this route */ } ospf; #endif struct { /* Routes generated by krt sync (both temporary and inherited ones) */ -- cgit v1.2.3