]> git.puffer.fish Git - matthieu/frr.git/commit
bfdd: fix the possibly wrong counter of control packets
authoranlan_cs <vic.lan@pica8.com>
Tue, 18 Jan 2022 10:00:45 +0000 (05:00 -0500)
committeranlan_cs <vic.lan@pica8.com>
Tue, 18 Jan 2022 10:19:54 +0000 (05:19 -0500)
commit95fd223cc3a7a6f7cdefebf39934c74e15091b6a
tree02328600cc44b894fe81ee6c309652a073000645
parent3ae667e5275c75148adee1bf216ebdd329d74c0b
bfdd: fix the possibly wrong counter of control packets

Since control packets may be dropped by ttl check, the counter
operation should be put after all check including ttl check.

Signed-off-by: anlan_cs <vic.lan@pica8.com>
bfdd/bfd_packet.c