]> git.proxmox.com Git - mirror_frr.git/commit
pimd: Double read of stream
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 26 May 2016 16:41:55 +0000 (12:41 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 26 May 2016 23:21:20 +0000 (19:21 -0400)
commit762e563e522af9f5bfd843460c9940c1afae7061
tree31c875c0ca4ce37a0dd7e125461765c127801200
parentf02ebfde40bde16a6885b753f48c12abf01f1e27
pimd: Double read of stream

The addition of the zclient_read_header call
reads the entirety of the stream for you and
makes sure it's consistent with the header.
When the function call was added it read the
stream data in zclient_read_header and then
reread the data after that.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_zlookup.c