summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-28 21:07:39 +0200
committerOndrej Filip <feela@network.cz>2000-05-28 21:07:39 +0200
commitcdc25e8db7bfb38a9aca71abc5c202c25f4b0732 (patch)
tree52dd6c364a12c8a61837ec1a49cd4ec9bdec2fce
parent4414d9a57a0dae3da0e0e0d924bf8cab89070716 (diff)
downloadbird-cdc25e8db7bfb38a9aca71abc5c202c25f4b0732.tar
bird-cdc25e8db7bfb38a9aca71abc5c202c25f4b0732.zip
To find out a type of route (external, inter/intra area)
-rw-r--r--nest/route.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nest/route.h b/nest/route.h
index 640cd49..cc81009 100644
--- a/nest/route.h
+++ b/nest/route.h
@@ -163,6 +163,10 @@ typedef struct rte {
struct {
u32 metric1, metric2; /* OSPF Type 1 and Type 2 metrics */
u32 tag; /* External route tag */
+ char type; /* A - intra area
+ * I - inter area
+ * E - external
+ */
} ospf;
#endif
struct { /* Routes generated by krt sync (both temporary and inherited ones) */