]> git.proxmox.com Git - mirror_frr.git/commit - lib/northbound_confd.c
lib: improve error handling when connection to confd is lost
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 16 Nov 2018 23:02:36 +0000 (21:02 -0200)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 26 Nov 2018 17:51:57 +0000 (15:51 -0200)
commita7d055e4ff4d476814c8b2ee56691ed5e853b6bd
treef6cea914fe8a3eb94f96965cb1055148952efbec
parent76ca535697e7adc08edee7b028dbb6b93352c385
lib: improve error handling when connection to confd is lost

This fixes an infinite loop that happened every time the connection
to the confd daemon was lost. Deactivate the confd module when
that happens to fix the infinite loop. This is only a temporary
workaround, in the long term we need to add a connection retry timer
to reestablish the connection to the confd daemon once it's back.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
lib/northbound_confd.c