diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-02-08 16:01:03 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-02-08 16:01:03 +0100 |
commit | c27b2449d1f57e780974ed13fbd572a48e2a3602 (patch) | |
tree | dad29d3d936989a46e62a03ee994290d852662b4 /nest/route.h | |
parent | 5a56f27cd00c2cad661aed9b54696699e800883c (diff) |
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.
Diffstat (limited to 'nest/route.h')
-rw-r--r-- | nest/route.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/route.h b/nest/route.h index e45a8c62..99803e7c 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) */ |