summaryrefslogtreecommitdiffstats
path: root/nsh-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'nsh-plugin')
-rw-r--r--nsh-plugin/nsh/nsh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nsh-plugin/nsh/nsh.c b/nsh-plugin/nsh/nsh.c
index 19ead91..a59609a 100644
--- a/nsh-plugin/nsh/nsh.c
+++ b/nsh-plugin/nsh/nsh.c
@@ -1657,7 +1657,7 @@ nsh_input_map (vlib_main_t * vm,
}
else if(node_type == NSH_CLASSIFIER_TYPE)
{
- nsp_nsi0 = vnet_buffer(b0)->l2_classify.opaque_index;
+ nsp_nsi0 = clib_host_to_net_u32(vnet_buffer(b0)->l2_classify.opaque_index);
}
else
{
@@ -1689,7 +1689,7 @@ nsh_input_map (vlib_main_t * vm,
}
else if(node_type == NSH_CLASSIFIER_TYPE)
{
- nsp_nsi1 = vnet_buffer(b1)->l2_classify.opaque_index;
+ nsp_nsi1 = clib_host_to_net_u32(vnet_buffer(b1)->l2_classify.opaque_index);
}
else
{
@@ -1962,7 +1962,7 @@ nsh_input_map (vlib_main_t * vm,
}
else if(node_type == NSH_CLASSIFIER_TYPE)
{
- nsp_nsi0 = vnet_buffer(b0)->l2_classify.opaque_index;
+ nsp_nsi0 = clib_host_to_net_u32(vnet_buffer(b0)->l2_classify.opaque_index);
}
else if(node_type == NSH_AWARE_VNF_PROXY_TYPE)
{