diff options
author | masoud <mhemmatp@cisco.com> | 2019-10-31 18:07:18 +0100 |
---|---|---|
committer | Masoud Hemmatpour <mhemmatp@cisco.com> | 2019-11-04 13:02:29 +0000 |
commit | 6b7f4c3f9d9d26a5aa71be8f5976956aff387e8f (patch) | |
tree | b4b8c63ab76ab3f39543196b7c4d59a8b7353736 /ctrl/sysrepo-plugins/hicn-plugin/plugin/ietf | |
parent | ed27687177b38da2b0bc43b2e01fcb2034751935 (diff) |
[HICN-357] sysrepo plugin update
Signed-off-by: masoud <mhemmatp@cisco.com>
Change-Id: Idabe9d3a3b03139ad3cdb20c8c822e6dd7d4c553
Diffstat (limited to 'ctrl/sysrepo-plugins/hicn-plugin/plugin/ietf')
-rw-r--r-- | ctrl/sysrepo-plugins/hicn-plugin/plugin/ietf/ietf_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctrl/sysrepo-plugins/hicn-plugin/plugin/ietf/ietf_interface.c b/ctrl/sysrepo-plugins/hicn-plugin/plugin/ietf/ietf_interface.c index f02605895..0498527cb 100644 --- a/ctrl/sysrepo-plugins/hicn-plugin/plugin/ietf/ietf_interface.c +++ b/ctrl/sysrepo-plugins/hicn-plugin/plugin/ietf/ietf_interface.c @@ -302,7 +302,7 @@ static i32 ietf_interface_name2index(const char *name, u32* if_index) dump = vapi_alloc_sw_interface_dump(g_vapi_ctx_instance); dump->payload.name_filter_valid = true; - memcpy(dump->payload.name_filter, name, sizeof(dump->payload.name_filter)); + memcpy(&dump->payload.name_filter, name, sizeof(dump->payload.name_filter)); while (VAPI_EAGAIN == (rv = vapi_sw_interface_dump(g_vapi_ctx_instance, dump, ietf_sw_interface_dump_cb, &dctx))) ; |