aboutsummaryrefslogtreecommitdiffstats
path: root/nsh-plugin/nsh/nsh_output.c
diff options
context:
space:
mode:
authorHongjun Ni <hongjun.ni@intel.com>2017-06-01 20:08:52 +0800
committerHongjun Ni <hongjun.ni@intel.com>2017-06-01 20:08:52 +0800
commitd23511851d5b5893518763bd29ef8c374d9dcd87 (patch)
tree31eb7f3a992ceaaa2486ed2dead0466243857a72 /nsh-plugin/nsh/nsh_output.c
parent8c1fd9479513cd466f643f9f0fb132e5da91651c (diff)
Fix NSH plugin loading issue
Change-Id: Ica0e6080a4ebdb898590864b7d5ab1da16d656bd Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'nsh-plugin/nsh/nsh_output.c')
-rw-r--r--nsh-plugin/nsh/nsh_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nsh-plugin/nsh/nsh_output.c b/nsh-plugin/nsh/nsh_output.c
index 1e1b772..c104ee7 100644
--- a/nsh-plugin/nsh/nsh_output.c
+++ b/nsh-plugin/nsh/nsh_output.c
@@ -71,7 +71,7 @@ nsh_output_inline (vlib_main_t * vm,
nsh_main_t *nm;
thread_index = vlib_get_thread_index();
- error_node = vlib_node_get_runtime (vm, nsh_output_node.index);
+ error_node = vlib_node_get_runtime (vm, nsh_eth_output_node.index);
from = vlib_frame_vector_args (from_frame);
n_left_from = from_frame->n_vectors;
next_index = node->cached_next_index;