summaryrefslogtreecommitdiff
path: root/zebra/main.c
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2012-01-30 16:07:18 +0400
committerDavid Lamparter <equinox@diac24.net>2012-03-12 11:05:19 +0100
commite52591481ed64e4cf9f26a76ad682ed7e6b451e7 (patch)
tree738a2ba31eb42b6d5d61fd61bad772a73c5cd82e /zebra/main.c
parent75c8eabbb5d3dc8aa21b61e8700ab939ce272f5c (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 'zebra/main.c')
0 files changed, 0 insertions, 0 deletions