Code Review
/
nsh_sfc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
d1fb1f4
)
Fix nsh_map_dump_details issue
79/3579/1
author
Hongjun Ni
<
[email protected]
>
Wed, 26 Oct 2016 11:24:09 +0000
(19:24 +0800)
committer
Hongjun Ni
<
[email protected]
>
Wed, 26 Oct 2016 11:25:17 +0000
(19:25 +0800)
Change-Id: I4b3094b1895721bc88756d026452a5fcecb4c27b
Signed-off-by: Hongjun Ni <
[email protected]
>
nsh-plugin/nsh/nsh.c
patch
|
blob
|
history
diff --git
a/nsh-plugin/nsh/nsh.c
b/nsh-plugin/nsh/nsh.c
index
4e045f6
..
3045be1
100644
(file)
--- 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);