diff options
Diffstat (limited to 'bgpd')
-rw-r--r-- | bgpd/ChangeLog | 6 | ||||
-rw-r--r-- | bgpd/bgp_zebra.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/bgpd/ChangeLog b/bgpd/ChangeLog index f90bed9d..3149f68c 100644 --- a/bgpd/ChangeLog +++ b/bgpd/ChangeLog @@ -1,3 +1,9 @@ +2005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu> + + * bgp_zebra.c (bgp_redistribute_set, bgp_redistribute_unset): + The 2nd arg to zebra_redistribute_send is now zclient instead of + zclient->sock. + 2005-04-09 Akihiro Mizutani <mizutani@net-chef.net> * bgp_vty.c: Make "exit-address-family" work in IPv4 unicast address diff --git a/bgpd/bgp_zebra.c b/bgpd/bgp_zebra.c index 0c0c8c0c..b4496e21 100644 --- a/bgpd/bgp_zebra.c +++ b/bgpd/bgp_zebra.c @@ -813,7 +813,7 @@ bgp_redistribute_set (struct bgp *bgp, afi_t afi, int type) return CMD_WARNING; /* Send distribute add message to zebra. */ - zebra_redistribute_send (ZEBRA_REDISTRIBUTE_ADD, zclient->sock, type); + zebra_redistribute_send (ZEBRA_REDISTRIBUTE_ADD, zclient, type); return CMD_SUCCESS; } @@ -876,7 +876,7 @@ bgp_redistribute_unset (struct bgp *bgp, afi_t afi, int type) && bgp->redist[AFI_IP6][type] == 0 && zclient->sock >= 0) /* Send distribute delete message to zebra. */ - zebra_redistribute_send (ZEBRA_REDISTRIBUTE_DELETE, zclient->sock, type); + zebra_redistribute_send (ZEBRA_REDISTRIBUTE_DELETE, zclient, type); /* Withdraw redistributed routes from current BGP's routing table. */ bgp_redistribute_withdraw (bgp, afi, type); |