diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vpp-api/python/vpp_papi.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vpp-api/python/vpp_papi.py b/src/vpp-api/python/vpp_papi.py index 7b66c0f4d37..67ac22a4d32 100644 --- a/src/vpp-api/python/vpp_papi.py +++ b/src/vpp-api/python/vpp_papi.py @@ -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 |