diff options
author | Keith Burns <alagalah@gmail.com> | 2019-10-13 06:35:40 -0700 |
---|---|---|
committer | Keith Burns <alagalah@gmail.com> | 2019-10-13 06:40:19 -0700 |
commit | 78fae13462fe2298773caa693ceb7c9e3b514eeb (patch) | |
tree | ea1a86a50cbb7ab4c6f98eeb035d9bdb044a86c4 /src/plugins | |
parent | 6faac1622e0d5352da987c73a6f3f1ec55896116 (diff) |
mactime: pass context in reply to mactime_dump
Type: fix
mactime_dump API didn't copy context to _details reply,
causing subscription issues.
Change-Id: Ida9f28b437847fba67a7e0832baa2b25a46882a9
Signed-off-by: Keith Burns <alagalah@gmail.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/mactime/mactime.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/mactime/mactime.c b/src/plugins/mactime/mactime.c index 502ac98b723..06fa7084f99 100644 --- a/src/plugins/mactime/mactime.c +++ b/src/plugins/mactime/mactime.c @@ -192,6 +192,7 @@ vl_api_mactime_dump_t_handler (vl_api_mactime_dump_t * mp) memset (ep, 0, message_size); ep->_vl_msg_id = clib_host_to_net_u16 (VL_API_MACTIME_DETAILS + mm->msg_id_base); + ep->context = mp->context; /* Index is the key for the stats segment combined counters */ ep->pool_index = clib_host_to_net_u32 (dev - mm->devices); |