diff options
Diffstat (limited to 'ospf6d/ospf6_top.c')
| -rw-r--r-- | ospf6d/ospf6_top.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ospf6d/ospf6_top.c b/ospf6d/ospf6_top.c index ad487f3565..9755cc44cc 100644 --- a/ospf6d/ospf6_top.c +++ b/ospf6d/ospf6_top.c @@ -142,20 +142,20 @@ static void ospf6_set_redist_vrf_bitmaps(struct ospf6 *ospf6, bool set) "%s: setting redist vrf %d bitmap for type %d", __func__, ospf6->vrf_id, type); if (set) - vrf_bitmap_set(&zclient->redist[AFI_IP6][type], + vrf_bitmap_set(&ospf6_zclient->redist[AFI_IP6][type], ospf6->vrf_id); else - vrf_bitmap_unset(&zclient->redist[AFI_IP6][type], + vrf_bitmap_unset(&ospf6_zclient->redist[AFI_IP6][type], ospf6->vrf_id); } red_list = ospf6->redist[DEFAULT_ROUTE]; if (red_list) { if (set) - vrf_bitmap_set(&zclient->default_information[AFI_IP6], + vrf_bitmap_set(&ospf6_zclient->default_information[AFI_IP6], ospf6->vrf_id); else - vrf_bitmap_unset(&zclient->default_information[AFI_IP6], + vrf_bitmap_unset(&ospf6_zclient->default_information[AFI_IP6], ospf6->vrf_id); } } @@ -566,13 +566,13 @@ static void ospf6_disable(struct ospf6 *o) } } -void ospf6_master_init(struct event_loop *master) +void ospf6_master_init(struct event_loop *mst) { memset(&ospf6_master, 0, sizeof(ospf6_master)); om6 = &ospf6_master; om6->ospf6 = list_new(); - om6->master = master; + om6->master = mst; } void ospf6_master_delete(void) |
