VPP PAPI: Error in unserializer for non-array compound types. 49/9149/3
authorOle Troan <ot@cisco.com>
Tue, 31 Oct 2017 13:50:13 +0000 (14:50 +0100)
committerNeale Ranns <nranns@cisco.com>
Tue, 31 Oct 2017 19:40:55 +0000 (19:40 +0000)
commitca3b6f1b4116010b1acbbb29a945767cb5443914
tree93e4bdced73e8f97999688f348bcc4a92ac961cc
parent4f68e042b7bde7058a853afc9b97222cb448657a
VPP PAPI: Error in unserializer for non-array compound types.

A bug in the decoder of messages when there was a non-array compound type.
The typical result was an error message from the struct library:
 "error:unpack_from requires a buffer of at least 4 bytes"

Change-Id: Ie30fec6fc39b9f4177b54fa4adc4fc69674f0e12
Signed-off-by: Ole Troan <ot@cisco.com>
src/vpp-api/python/vpp_papi.py
test/test_papi.py