To find out a type of route (external, inter/intra area)
This commit is contained in:
parent
4414d9a57a
commit
cdc25e8db7
1 changed files with 4 additions and 0 deletions
|
@ -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) */
|
||||||
|
|
Loading…
Reference in a new issue