summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_zebra.c
diff options
context:
space:
mode:
authorpaul <paul>2006-05-12 23:02:46 +0000
committerpaul <paul>2006-05-12 23:02:46 +0000
commit74bfdffb09aa397a1c665b77bec430ee1eb3bc7d (patch)
tree97fbca9d19d5c995d9e151118339974ce5073989 /ospfd/ospf_zebra.c
parentfccbf88bdf5a6ddaf34785246fb86e49a61b28ea (diff)
downloadquagga-74bfdffb09aa397a1c665b77bec430ee1eb3bc7d.tar.bz2
quagga-74bfdffb09aa397a1c665b77bec430ee1eb3bc7d.tar.xz
[ospfd] CID #28, remove another ospf_lookup call - ospf_redistribute_withdraw
2006-05-12 Paul Jakma <paul.jakma@sun.com> * ospf_asbr.c: (ospf_redistribute_withdraw) remove ospf_lookup call by taking the struct ospf * as argument, which the caller has, fixing CID #28. * ospf_asbr.h: (ospf_redistribute_withdraw) update declaration * ospf_zebra.c: (ospf_redistribute_unset) update call to ospf_redistribute_withdraw to match.
Diffstat (limited to 'ospfd/ospf_zebra.c')
-rw-r--r--ospfd/ospf_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c
index 11c4d99b..5a722e05 100644
--- a/ospfd/ospf_zebra.c
+++ b/ospfd/ospf_zebra.c
@@ -565,7 +565,7 @@ ospf_redistribute_unset (struct ospf *ospf, int type)
ospf->dmetric[type].value = -1;
/* Remove the routes from OSPF table. */
- ospf_redistribute_withdraw (type);
+ ospf_redistribute_withdraw (ospf, type);
ospf_asbr_status_update (ospf, --ospf->redistribute);