diff options
author | Ondrej Filip <feela@network.cz> | 2000-06-02 17:05:41 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-06-02 17:05:41 +0200 |
commit | 3fa5722defc340571a6518d5556b1e354f05ce18 (patch) | |
tree | 41121f21b9efd9af57a48eae914d36cebadddf5c /proto/ospf/ospf.c | |
parent | 62924172aef9cf5308fd21d3ad5f6572b977c268 (diff) | |
download | bird-3fa5722defc340571a6518d5556b1e354f05ce18.tar bird-3fa5722defc340571a6518d5556b1e354f05ce18.zip |
First option into config added. :-)
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 bd66434..62bab70 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; } |