summaryrefslogtreecommitdiffstats
path: root/proto/ospf/rt.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-28 21:16:04 +0200
committerOndrej Filip <feela@network.cz>2000-05-28 21:16:04 +0200
commitf7c0525edcffc6c85d0e526c4c9741b06fc521d2 (patch)
tree6ce5a3616223e93ac53175327b3ec2c64ba1be05 /proto/ospf/rt.c
parentd150c6379c03a9df98ff5dd53a6442a10713b571 (diff)
downloadbird-f7c0525edcffc6c85d0e526c4c9741b06fc521d2.tar
bird-f7c0525edcffc6c85d0e526c4c9741b06fc521d2.zip
get_route_info() added.
Diffstat (limited to 'proto/ospf/rt.c')
-rw-r--r--proto/ospf/rt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c
index d50e438..6b4c18f 100644
--- a/proto/ospf/rt.c
+++ b/proto/ospf/rt.c
@@ -229,6 +229,7 @@ again:
e->u.ospf.metric1=nf->metric;
e->u.ospf.metric2=0;
e->u.ospf.tag=0; /* FIXME Some config? */
+ e->u.ospf.type='I';
e->pflags = 0;
e->net=ne;
e->pref = p->preference;
@@ -448,6 +449,7 @@ noch:
e->u.ospf.metric1=nf->metric;
e->u.ospf.metric2=nf->metric2;
e->u.ospf.tag=0; /* FIXME Some config? */
+ e->u.ospf.type='E';
e->pflags = 0;
e->net=ne;
e->pref = p->preference;