]> git.puffer.fish Git - mirror/frr.git/commit
ospf6d: check MTU with message header size in mind
authorDmitrij Tejblum <tejblum@yandex-team.ru>
Tue, 12 Jul 2011 13:53:33 +0000 (17:53 +0400)
committerDenis Ovsienko <infrastation@yandex.ru>
Tue, 12 Jul 2011 13:53:33 +0000 (17:53 +0400)
commit82a963a1b8d9066f5e3e24e98b65398d32a73876
tree3f3af8b935607d7798b75da72abb709a534e6f5e
parentab1be8a20de4db0d17e28483660627fd843845f1
ospf6d: check MTU with message header size in mind

* ospf6_message.c: (ospf6_packet_max): new function, return maximum IPv6
  payload on an interface; (ospf6_hello_send, ospf6_dbdesc_send,
  ospf6_dbdesc_send_newone, ospf6_lsreq_send, ospf6_lsupdate_send_neighbor,
  ospf6_lsupdate_send_interface, ospf6_lsack_send_neighbor,
  ospf6_lsack_send_interface): compare message size with the maximum
  payload instead of the MTU.
ospf6d/ospf6_message.c