summaryrefslogtreecommitdiffstats
path: root/proto/ospf/rt.c
diff options
context:
space:
mode:
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;