aboutsummaryrefslogtreecommitdiffstats
path: root/nsh-plugin
diff options
context:
space:
mode:
authorHongjun Ni <hongjun.ni@intel.com>2016-10-26 19:24:09 +0800
committerHongjun Ni <hongjun.ni@intel.com>2016-10-26 19:25:17 +0800
commit210d394002fea31edb345b5c6adfaf4e6078e545 (patch)
tree659806692a34c79be8e535ddf5d40c7ef429f731 /nsh-plugin
parentd1fb1f4bb8b18815fd936a3ab088b96bd82a67c4 (diff)
Fix nsh_map_dump_details issue
Change-Id: I4b3094b1895721bc88756d026452a5fcecb4c27b Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'nsh-plugin')
-rw-r--r--nsh-plugin/nsh/nsh.c2
1 files changed, 1 insertions, 1 deletions
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);