summaryrefslogtreecommitdiffstats
path: root/src/vlibapi/node_serialize.c
diff options
context:
space:
mode:
authorGabriel Ganne <gabriel.ganne@enea.com>2017-10-11 14:35:55 +0200
committerGabriel Ganne <gabriel.ganne@enea.com>2017-10-16 09:17:32 +0200
commitf90813d64c4d1aee3a51609e85e632b1f9a37536 (patch)
treeae193176b6aec75491f2fe356e05f5054f5a1c13 /src/vlibapi/node_serialize.c
parent2199aab7422a704f86ca7b8a392531fc42866cb3 (diff)
lb plugin - fix format() type mismatches
* (vip - lbm->vips) is u64; change format from [%u] to [%lu] * vip->plen is u8, but format looks for u32; add exlicit cast (this cast was done implicitely) On ARM platforms, these prevent a loop in the second call to format_white_space() which would get an invalid (huge) indent value; the result *looked like* an infinite loop. Change-Id: I675ef2f98e4ba3d9e8aef12022d38b1d22981da8 Signed-off-by: Gabriel Ganne <gabriel.ganne@enea.com>
Diffstat (limited to 'src/vlibapi/node_serialize.c')
0 files changed, 0 insertions, 0 deletions