]> git.proxmox.com Git - mirror_ovs.git/commit
lldp: correctly increase discarded count
authorVincent Bernat <vincent@bernat.im>
Fri, 13 Nov 2020 00:54:54 +0000 (19:54 -0500)
committerIlya Maximets <i.maximets@ovn.org>
Mon, 16 Nov 2020 16:47:11 +0000 (17:47 +0100)
commit965f2e47e6f7890c9fb6493f57bc09d4bd4e5c09
treee3caf9706a923c3994297b2ae43eda49ae82d94e
parentb2c3c7824049a0044a9aa9805f085d8e5e4a0eae
lldp: correctly increase discarded count

Upstream commit:
    commit 32f0deeebc9172c3f5f4a4d02aab32e6904947f6
    Date: Sat, 18 Feb 2017 20:11:47 +0100

    lldpd: correctly increase discarded count

    When a frame cannot be decoded but has been guessed, increase the
    discarded count.

    Fix https://github.com/vincentbernat/lldpd/issues/223

Fixes: be53a5c447c3 ("auto-attach: Initial support for Auto-Attach standard")
Co-authored-by: Fabrizio D'Angelo <fdangelo@redhat.com>
Signed-off-by: Fabrizio D'Angelo <fdangelo@redhat.com>
Acked-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
lib/lldp/lldpd.c