Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
fix nsh map index error, it will cause vpp appear Segmentation fault when vpp process...
[vpp.git]
/
src
/
plugins
/
nsh
/
nsh.c
diff --git
a/src/plugins/nsh/nsh.c
b/src/plugins/nsh/nsh.c
index
20e4603
..
33cf552
100644
(file)
--- a/
src/plugins/nsh/nsh.c
+++ b/
src/plugins/nsh/nsh.c
@@
-2000,7
+2000,7
@@
nsh_input_map (vlib_main_t * vm,
goto trace1;
}
vnet_buffer (b1)->sw_if_index[VLIB_RX] =
- map
0
->rx_sw_if_index;
+ map
1
->rx_sw_if_index;
}
/* Pop NSH header */