diff options
author | Dmitrij Tejblum <tejblum@yandex-team.ru> | 2011-07-12 17:53:33 +0400 |
---|---|---|
committer | Dmitrij Tejblum <tejblum@yandex-team.ru> | 2011-11-17 21:50:47 +0400 |
commit | 681b84e8f50a09ff871d9e6536e8d8afb115ce13 (patch) | |
tree | 6821d2c2472934073cc86ff332de7339105af4de /ospfd/ospf_api.c | |
parent | 3cf1288bfd855e339fe2283c79a3ef3746e61737 (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 'ospfd/ospf_api.c')
0 files changed, 0 insertions, 0 deletions