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:25:57 +0000 (13:25 -0800)
commit2e275c0e00adced5dab256e5ccd1b4ae60ec127d
treeb33dfdcf0eb91bd5beeb70757c7e68fe7b3b4e42
parent7868fbc6c97c2a69ff2b9bb2c00f46675e9f721b
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