aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/nsh/nsh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nsh/nsh.c b/src/plugins/nsh/nsh.c
index 20e4603b449..33cf5522863 100644
--- 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] =
- map0->rx_sw_if_index;
+ map1->rx_sw_if_index;
}
/* Pop NSH header */