diff options
Diffstat (limited to 'ospfd/ospf_asbr.c')
-rw-r--r-- | ospfd/ospf_asbr.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ospfd/ospf_asbr.c b/ospfd/ospf_asbr.c index 426fac49..a4826237 100644 --- a/ospfd/ospf_asbr.c +++ b/ospfd/ospf_asbr.c @@ -270,14 +270,11 @@ ospf_asbr_status_update (struct ospf *ospf, u_char status) } void -ospf_redistribute_withdraw (u_char type) +ospf_redistribute_withdraw (struct ospf *ospf, u_char type) { - struct ospf *ospf; struct route_node *rn; struct external_info *ei; - ospf = ospf_lookup (); - /* Delete external info for specified type. */ if (EXTERNAL_INFO (type)) for (rn = route_top (EXTERNAL_INFO (type)); rn; rn = route_next (rn)) |