sFlow: clear the padding
authorFrancesco Fusco <ffusco@redhat.com>
Thu, 19 Dec 2013 17:16:24 +0000 (18:16 +0100)
committerBen Pfaff <blp@nicira.com>
Mon, 13 Jan 2014 21:32:49 +0000 (13:32 -0800)
commit1497929329faed1d840c1539b9e69f78bd26e756
tree635c32ade4da2094d80f5978f486059417bb8359
parent6c1571aead8dd73546a4165a01b2d38990f21902
sFlow: clear the padding

putString pads the string to the 4-byte boundary without
clearing the "padded" memory. This patch simply set the
padding to zero.

Signed-off-by: Francesco Fusco <ffusco@redhat.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/sflow_receiver.c