From 93fe5c5bed35dae0f40fe3ceeef2d1563d0c6eda Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 30 Jun 2003 21:41:26 +0000 Subject: 2003-06-30 Paul Jakma * ospf_packet.c: (ospf_ls_upd_send_queue_event) undo fix suggested Mikael Lonnroth. As per Kamatchi Soundaram / [zebra 19590], original behaviour is correct. --- ospfd/ospf_packet.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'ospfd/ospf_packet.c') diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c index 7bd48223..9e4be062 100644 --- a/ospfd/ospf_packet.c +++ b/ospfd/ospf_packet.c @@ -2709,12 +2709,7 @@ ospf_make_ls_upd (struct ospf_interface *oi, list update, struct stream *s) /* Check packet size. */ if (length + delta + ntohs (lsa->data->length) > OSPF_PACKET_MAX (oi)) - { - /* clean up */ - list_delete_node (update, node); - ospf_lsa_unlock (lsa); - break; - } + break; /* Keep pointer to LS age. */ lsah = (struct lsa_header *) (STREAM_DATA (s) + stream_get_putp (s)); -- cgit v1.2.1