]> git.puffer.fish Git - matthieu/frr.git/commit
lib/zclient: Consolidate error reporting for zclient_read_header
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 17 Sep 2015 14:54:25 +0000 (10:54 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 9 Jun 2016 14:33:27 +0000 (10:33 -0400)
commit195dd232ebfd62cf6c461612d3ef7fb3d2a23b30
tree0b21a1f9e3c546ce279489da0fcc7444e880c79a
parentbb882a8651841d36cd923174408fb12493475005
lib/zclient: Consolidate error reporting for zclient_read_header

All functions that call zclient_read_header immediately turn around
and check to ensure that the version and marker fields are correct
Move this code into zclient_read_header

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
(cherry picked from commit a9d4cb33faa6af622240190a80f41c4672374925)
lib/zclient.c
pimd/pim_zlookup.c