summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/python/vpp_papi/vpp_papi.py
diff options
context:
space:
mode:
authorWojciech Dec <wdec@cisco.com>2017-01-24 14:18:12 +0100
committerWojciech Dec <wdec@cisco.com>2017-01-24 14:18:12 +0100
commit1fd5d01eff9d97b8bb34edaaaa7703b5a04b4941 (patch)
treeb9c32979b62d653860e0bebe0c14dc38c6b4367b /src/vpp-api/python/vpp_papi/vpp_papi.py
parentcda70668441e7ba8a12dd9bdbac191c2dd2fcbf3 (diff)
Fix PAPI async response
Previous changes forgot to return the decoded result Change-Id: I4eb27802eb2672532d856d9b9671ef806374bcd0 Signed-off-by: Wojciech Dec <wdec@cisco.com>
Diffstat (limited to 'src/vpp-api/python/vpp_papi/vpp_papi.py')
-rw-r--r--src/vpp-api/python/vpp_papi/vpp_papi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp-api/python/vpp_papi/vpp_papi.py b/src/vpp-api/python/vpp_papi/vpp_papi.py
index 8de1e4b4a4a..cefbe37021b 100644
--- a/src/vpp-api/python/vpp_papi/vpp_papi.py
+++ b/src/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."""