diff options
author | Ondrej Filip <feela@network.cz> | 2004-06-06 11:13:37 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2004-06-06 11:13:37 +0200 |
commit | 66261211a9c9abd5e1591f0875d16da1e3975fcb (patch) | |
tree | a77912038115c288364a87a85ab3e3b7d2d436af /proto/ospf/ospf.c | |
parent | b9ed99f738c10c0576a9ab8a70b028a92d0d74a7 (diff) | |
download | bird-66261211a9c9abd5e1591f0875d16da1e3975fcb.tar bird-66261211a9c9abd5e1591f0875d16da1e3975fcb.zip |
Struct area_net changed.
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r-- | proto/ospf/ospf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c index 79564ed..7346082 100644 --- a/proto/ospf/ospf.c +++ b/proto/ospf/ospf.c @@ -116,8 +116,8 @@ ospf_start(struct proto *p) WALK_LIST(anet,ac->net_list) { antmp=mb_allocz(po->proto.pool, sizeof(struct area_net)); - antmp->net=anet->net; - antmp->mlen=anet->mlen; + antmp->px.addr=anet->px.addr; + antmp->px.len=anet->px.len; antmp->hidden=anet->hidden; add_tail(&oa->net_list, NODE antmp); } @@ -542,8 +542,8 @@ ospf_reconfigure(struct proto *p, struct proto_config *c) WALK_LIST(anet, ac2->net_list) { antmp=mb_alloc(p->pool, sizeof(struct area_net)); - antmp->net=anet->net; - antmp->mlen=anet->mlen; + antmp->px.addr=anet->px.addr; + antmp->px.len=anet->px.len; antmp->hidden=anet->hidden; add_tail(&oa->net_list, NODE antmp); } @@ -836,7 +836,7 @@ ospf_sh(struct proto *p) cli_msg(-1014,"\t\tArea networks:"); WALK_LIST(anet, oa->net_list) { - cli_msg(-1014,"\t\t\t%1I/%u\t%s", anet->net, anet->mlen, + cli_msg(-1014,"\t\t\t%1I/%u\t%s", anet->px.addr, anet->px.len, anet->hidden ? "Hidden" : "Advertise"); } } |