summaryrefslogtreecommitdiff
path: root/ospfd/ospf_snmp.h
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2012-02-20 23:08:10 +0400
committerDavid Lamparter <equinox@diac24.net>2012-03-12 11:05:30 +0100
commitb29adf9c3e69f298f748564a20abdf7274bbc549 (patch)
tree1b1d18c542fa6cae9f4d7f7a6e559a23b0bdafc3 /ospfd/ospf_snmp.h
parent4e31de792ec5e48a97360b5b86196b4fa02996a3 (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 'ospfd/ospf_snmp.h')
0 files changed, 0 insertions, 0 deletions