To find out a type of route (external, inter/intra area)

This commit is contained in:
Ondrej Filip 2000-05-28 19:07:39 +00:00
parent 4414d9a57a
commit cdc25e8db7

View file

@ -163,6 +163,10 @@ typedef struct rte {
struct { struct {
u32 metric1, metric2; /* OSPF Type 1 and Type 2 metrics */ u32 metric1, metric2; /* OSPF Type 1 and Type 2 metrics */
u32 tag; /* External route tag */ u32 tag; /* External route tag */
char type; /* A - intra area
* I - inter area
* E - external
*/
} ospf; } ospf;
#endif #endif
struct { /* Routes generated by krt sync (both temporary and inherited ones) */ struct { /* Routes generated by krt sync (both temporary and inherited ones) */