diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2012-02-20 23:08:10 +0400 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2012-03-12 11:05:30 +0100 |
commit | b29adf9c3e69f298f748564a20abdf7274bbc549 (patch) | |
tree | 1b1d18c542fa6cae9f4d7f7a6e559a23b0bdafc3 /redhat/zebra.service | |
parent | 4e31de792ec5e48a97360b5b86196b4fa02996a3 (diff) |
ospfd: fix packet length check for auth/LLS cases
An OSPFv2 packet with trailing data blocks (authentication and/or
link-local signaling) failed the recently implemented packet length
check, because trailing data length isn't counted in the packet header
"length" field. This commit fixes respective check conditions.
* ospf_packet.c
* ospf_packet_examin(): use "bytesdeclared" instead of "bytesonwire"
Diffstat (limited to 'redhat/zebra.service')
0 files changed, 0 insertions, 0 deletions