summaryrefslogtreecommitdiff
path: root/ospfd/ospf_packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd/ospf_packet.c')
-rw-r--r--ospfd/ospf_packet.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c
index 67215ebc..8aa63998 100644
--- a/ospfd/ospf_packet.c
+++ b/ospfd/ospf_packet.c
@@ -3123,11 +3123,7 @@ ospf_ls_upd_send_queue_event (struct thread *thread)
if (rn->info == NULL)
continue;
- for (tn = update->head; tn; tn = nn)
- {
- nn = tn->next;
- ospf_ls_upd_queue_send (oi, update, rn->p.u.prefix4);
- }
+ ospf_ls_upd_queue_send (oi, update, rn->p.u.prefix4);
/* list might not be empty.
* TODO: work out what to do about oversized LSAs.