]> git.puffer.fish Git - mirror/frr.git/commit
lib: Allow zclient do-over of connect on initial attempt
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 22 Jan 2016 15:46:08 +0000 (10:46 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 22 Jan 2016 16:06:08 +0000 (08:06 -0800)
commit4ecc09d3948173bd76ce7d6f05212289289213e2
treea97b77287672a80087e47359d924ddba9b4e81f6
parent385f703b16874a97e9edd93c0ece5e74535d0c6b
lib: Allow zclient do-over of connect on initial attempt

When a protocol is attempting to connect to the zebra daemon
through it's socket.  If the inital attempt fails, give it a
few more attempts before giving up and leaving the daemon in
a bizarre state.

This problem was found by Ashley Penney, and Ashley was of
immense help in debugging and testing the fix for this issue.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Tested-by: Ashley Penney <apenney@ntoggle.com>
lib/zclient.c