{
this_pref = cfg_allocz(sizeof(struct area_net));
add_tail(&this_area->net_list, NODE this_pref);
- this_pref->net = $1.addr;
- this_pref->mlen = $1.len;
+ this_pref->px.addr = $1.addr;
+ this_pref->px.len = $1.len;
}
;
{
this_pref = cfg_allocz(sizeof(struct area_net));
add_tail(&this_area->net_list, NODE this_pref);
- this_pref->net = $1.addr;
- this_pref->mlen = $1.len;
+ this_pref->px.addr = $1.addr;
+ this_pref->px.len = $1.len;
this_pref->hidden = 1;
}
;
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);
}
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);
}
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");
}
}