From: Hongjun Ni Date: Wed, 26 Oct 2016 11:24:09 +0000 (+0800) Subject: Fix nsh_map_dump_details issue X-Git-Tag: v17.01-rc1~12 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=210d394002fea31edb345b5c6adfaf4e6078e545;p=nsh_sfc.git Fix nsh_map_dump_details issue Change-Id: I4b3094b1895721bc88756d026452a5fcecb4c27b Signed-off-by: Hongjun Ni --- diff --git a/nsh-plugin/nsh/nsh.c b/nsh-plugin/nsh/nsh.c index 4e045f6..3045be1 100644 --- a/nsh-plugin/nsh/nsh.c +++ b/nsh-plugin/nsh/nsh.c @@ -757,7 +757,7 @@ static void send_nsh_map_details rmp->_vl_msg_id = ntohs((VL_API_NSH_MAP_DETAILS)+nm->msg_id_base); rmp->nsp_nsi = htonl(t->nsp_nsi); rmp->mapped_nsp_nsi = htonl(t->mapped_nsp_nsi); - rmp->nsh_action = htonl(t->sw_if_index); + rmp->nsh_action = htonl(t->nsh_action); rmp->sw_if_index = htonl(t->sw_if_index); rmp->next_node = htonl(t->next_node);