mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 03:27:39 +00:00
2003-06-30 Paul Jakma <paul@dishone.st>
* ospf_packet.c: (ospf_ls_upd_send_queue_event) undo fix suggested Mikael Lonnroth. As per Kamatchi Soundaram / [zebra 19590], original behaviour is correct.
This commit is contained in:
parent
4957f4946d
commit
93fe5c5bed
@ -2709,12 +2709,7 @@ ospf_make_ls_upd (struct ospf_interface *oi, list update, struct stream *s)
|
|||||||
|
|
||||||
/* Check packet size. */
|
/* Check packet size. */
|
||||||
if (length + delta + ntohs (lsa->data->length) > OSPF_PACKET_MAX (oi))
|
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. */
|
/* Keep pointer to LS age. */
|
||||||
lsah = (struct lsa_header *) (STREAM_DATA (s) + stream_get_putp (s));
|
lsah = (struct lsa_header *) (STREAM_DATA (s) + stream_get_putp (s));
|
||||||
|
Loading…
Reference in New Issue
Block a user