diff options
author | Dmitrij Tejblum <tejblum@yandex-team.ru> | 2011-07-12 17:53:33 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2011-07-12 17:53:33 +0400 |
commit | 82a963a1b8d9066f5e3e24e98b65398d32a73876 (patch) | |
tree | 3f3af8b935607d7798b75da72abb709a534e6f5e /ospf6d/ospf6_neighbor.h | |
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.
Diffstat (limited to 'ospf6d/ospf6_neighbor.h')
0 files changed, 0 insertions, 0 deletions