aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWojciech Dec <wdec@cisco.com>2017-01-24 14:18:12 +0100
committerOle Troan <ot@cisco.com>2017-01-24 17:38:51 +0100
commit4831dc5ddfd438892a3f2304a564a78a0adc3ad3 (patch)
tree1d580424e5c94a62fd09fe28793cb37858eda7eb
parentcd111b2228cff04cec1bebf808c0d1de11a45e64 (diff)
Fix PAPI async response
Previous changes forgot to return the decoded result Change-Id: I4eb27802eb2672532d856d9b9671ef806374bcd0 Signed-off-by: Wojciech Dec <wdec@cisco.com>
-rw-r--r--vpp-api/python/vpp_papi/vpp_papi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpp-api/python/vpp_papi/vpp_papi.py b/vpp-api/python/vpp_papi/vpp_papi.py
index 96967aeed53..0a10bf7af31 100644
--- a/vpp-api/python/vpp_papi/vpp_papi.py
+++ b/vpp-api/python/vpp_papi/vpp_papi.py
@@ -502,7 +502,7 @@ class VPP():
msgname = type(r).__name__
if self.event_callback:
- self.event_callback(msgname, msg)
+ self.event_callback(msgname, r)
def _control_ping(self, context):
"""Send a ping command."""