Re: BFD: fix reporting of up->down transition in routing message

2019-05-26 Thread Klemens Nanni
On Sat, May 25, 2019 at 09:27:18PM +1000, Mitchell Krome wrote: > I tracked this down to what I think is a typo. The code for updating the > laststate and timer is looking at laststate before it's been updated. > Patch below makes it work as expected You're right, thanks. OK kn if anyone else want

BFD: fix reporting of up->down transition in routing message

2019-05-25 Thread Mitchell Krome
Hi, I was playing with BFD and noticed that the transition from up to down didnt seem to be reported correctly in the routing message. The uptime didn't seem to reset and both state and laststate show as down. RTM_BFD: bidirectional forwarding detection: len 136 BFD: async state down remo