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:51 +0000 (13:32 -0800)
commitb85183e204dd5137074014612bf2ac0e94188558
tree9468f8973702efe75e9b6a24aa69a369124056d3
parenta613b02eeb06345b510e9abdb929750d2eca25d6
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