diff options
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r-- | proto/ospf/ospf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c index bd66434e..62bab70f 100644 --- a/proto/ospf/ospf.c +++ b/proto/ospf/ospf.c @@ -61,6 +61,7 @@ ospf_init(struct proto_config *c) { struct proto *p = proto_new(c, sizeof(struct proto_ospf)); struct proto_ospf *po=(struct proto_ospf *)p; + struct ospf_config *oc=(struct ospf_config *)c; debug("OSPF: Init requested.\n"); p->import_control = ospf_import_control; @@ -71,6 +72,8 @@ ospf_init(struct proto_config *c) p->rte_better = ospf_rte_better; p->rte_same = ospf_rte_same; + po->rfc1583=oc->rfc1583; + return p; } |