aboutsummaryrefslogtreecommitdiffstats
path: root/vpp-api/python/vpp_papi/vpp_papi.py
diff options
context:
space:
mode:
Diffstat (limited to 'vpp-api/python/vpp_papi/vpp_papi.py')
-rw-r--r--vpp-api/python/vpp_papi/vpp_papi.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/vpp-api/python/vpp_papi/vpp_papi.py b/vpp-api/python/vpp_papi/vpp_papi.py
index ffe159fda90..27d4315aae4 100644
--- a/vpp-api/python/vpp_papi/vpp_papi.py
+++ b/vpp-api/python/vpp_papi/vpp_papi.py
@@ -398,13 +398,11 @@ class VPP():
b = self.encode(msgdef, kwargs)
self.results_prepare(context)
+ self._write(b)
if multipart:
self.results[context]['m'] = True
self._control_ping(context)
-
- self._write(b)
-
self.results_wait(context)
r = self.results[context]['r']
self.results_clean(context)