Re: ldpctl(8) fix invalid uptime

2012-05-14 Thread Stuart Henderson
I can't test ldpd at the moment, but the same diff applies to ospfd and works there, any OK's for me to commit it to both? On 2012/05/11 00:00, Rafael Zalamena wrote: This patch fixes the invalid uptime for interface which are not active (no link). When ldpd is running on an interface with no

Re: ldpctl(8) fix invalid uptime

2012-05-14 Thread Claudio Jeker
On Mon, May 14, 2012 at 10:02:53AM +0100, Stuart Henderson wrote: I can't test ldpd at the moment, but the same diff applies to ospfd and works there, any OK's for me to commit it to both? OK claudio@ On 2012/05/11 00:00, Rafael Zalamena wrote: This patch fixes the invalid uptime for

ldpctl(8) fix invalid uptime

2012-05-10 Thread Rafael Zalamena
This patch fixes the invalid uptime for interface which are not active (no link). When ldpd is running on an interface with no link it shows a invalid value. Steps to reproduce: 1 - Configure ldpd on an interface without link 2 - Start ldpd 3 - Run 'ldpctl show interfaces' Bugged result: