VPP PAPI: Error in unserializer for non-array compound types.
[vpp.git] / src / vpp-api / python / vpp_papi.py
index 7b66c0f..67ac22a 100644 (file)
@@ -360,6 +360,7 @@ class VPP():
                         size += v[1].size
             else:
                 if callable(v):
+                    size = 0
                     (s, l) = v(self, False, buf, off, None)
                     res.append(l)
                     size += s