summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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."""