From 66261211a9c9abd5e1591f0875d16da1e3975fcb Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Sun, 6 Jun 2004 09:13:37 +0000 Subject: Struct area_net changed. --- proto/ospf/config.Y | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'proto/ospf/config.Y') diff --git a/proto/ospf/config.Y b/proto/ospf/config.Y index e4ed500..177c926 100644 --- a/proto/ospf/config.Y +++ b/proto/ospf/config.Y @@ -112,8 +112,8 @@ pref_el: prefix ';' { 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; } ; @@ -121,8 +121,8 @@ pref_hid: prefix HIDDEN ';' { 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; } ; -- cgit v1.2.3