diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-17 19:03:46 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-17 19:16:53 -0400 |
| commit | f90f65a242e18ad2ae1229853f904227cc36900a (patch) | |
| tree | 72cab69e512d4c8d3e2c40533e728a6973e92411 /eigrpd/eigrp_siareply.c | |
| parent | 9c273c6d28345cb6c3d88aef2ab69a0eec264be3 (diff) | |
eigrpd: Cleanup FIFO
The FIFO really was a LIFO for some reason.
Push new packets onto the top, always pull from the bottom.
This allows eigrp neighbors to come up. Topotests
eigrp-topo1( in a topotest PR ) now form neighbors
with itself. With this commit.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_siareply.c')
| -rw-r--r-- | eigrpd/eigrp_siareply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eigrpd/eigrp_siareply.c b/eigrpd/eigrp_siareply.c index 0b684b498b..32f0c8be33 100644 --- a/eigrpd/eigrp_siareply.c +++ b/eigrpd/eigrp_siareply.c @@ -152,7 +152,7 @@ void eigrp_send_siareply(struct eigrp_neighbor *nbr, if (nbr->state == EIGRP_NEIGHBOR_UP) { /*Put packet to retransmission queue*/ - eigrp_fifo_push_head(nbr->retrans_queue, ep); + eigrp_fifo_push(nbr->retrans_queue, ep); if (nbr->retrans_queue->count == 1) { eigrp_send_packet_reliably(nbr); |
