summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhasso <hasso>2004-03-19 17:12:14 +0000
committerhasso <hasso>2004-03-19 17:12:14 +0000
commit158cdad448eee409025b91ee152c505a62840cc3 (patch)
treedf099e1cc540f52e00bcf58906c74b6b943053ba
parent0d85b9958d6db05fb9d81afbee96332f142654bd (diff)
Fix warning.
-rw-r--r--bgpd/bgp_advertise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_advertise.c b/bgpd/bgp_advertise.c
index 4778a977..fc1324ac 100644
--- a/bgpd/bgp_advertise.c
+++ b/bgpd/bgp_advertise.c
@@ -292,7 +292,7 @@ bgp_adj_out_unset (struct bgp_node *rn, struct peer *peer, struct prefix *p,
FIFO_ADD (&peer->sync[afi][safi]->withdraw, &adv->fifo);
/* Schedule packet write. */
- BGP_WRITE_ON (peer->t_write, bgp_write, peer->fd);
+ BGP_WRITE_ON (peer->t_write, bgp_write, *peer->fd);
}
else
{