diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2012-01-30 16:07:18 +0400 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2012-03-12 11:05:19 +0100 |
commit | e52591481ed64e4cf9f26a76ad682ed7e6b451e7 (patch) | |
tree | 738a2ba31eb42b6d5d61fd61bad772a73c5cd82e /bgpd | |
parent | 75c8eabbb5d3dc8aa21b61e8700ab939ce272f5c (diff) |
ospfd: review ospf_check_auth()
1. The only purpose of "ibuf" argument was to get stream size, which
was always equal to OSPF_MAX_PACKET_SIZE + 1, exactly as initialized
in ospf_new().
2. Fix the packet size check condition, which was incorrect for very
large packets, at least in theory.
Diffstat (limited to 'bgpd')
0 files changed, 0 insertions, 0 deletions