commit | 82a963a1b8d9066f5e3e24e98b65398d32a73876 | [log] [tgz] |
---|---|---|
author | Dmitrij Tejblum <tejblum@yandex-team.ru> | Tue Jul 12 17:53:33 2011 +0400 |
committer | Denis Ovsienko <infrastation@yandex.ru> | Tue Jul 12 17:53:33 2011 +0400 |
tree | 3f3af8b935607d7798b75da72abb709a534e6f5e | |
parent | ab1be8a20de4db0d17e28483660627fd843845f1 [diff] |
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.