aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2017-05-31 10:34:35 -0700
committerDamjan Marion <dmarion.lists@gmail.com>2017-06-01 17:18:27 +0000
commitd6d6751b89ef04f97b5ae0c5f5ce0ee8827cd2c3 (patch)
tree4178be7a310bd512a99e170866da61d3f2fd03be /src/vnet
parentd6ad5a51130018113648f4c7220996b2c43c8cfb (diff)
MPLS trace the EOS bit correctly
Change-Id: I6c3fd612c19d9305f48ae0e429e12e96679e3b29 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/mpls/mpls_lookup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/mpls/mpls_lookup.c b/src/vnet/mpls/mpls_lookup.c
index 7cedc384..30031e51 100644
--- a/src/vnet/mpls/mpls_lookup.c
+++ b/src/vnet/mpls/mpls_lookup.c
@@ -52,7 +52,8 @@ format_mpls_lookup_trace (u8 * s, va_list * args)
t->next_index, t->lfib_index, t->lb_index, t->hash,
vnet_mpls_uc_get_label(
clib_net_to_host_u32(t->label_net_byte_order)),
- vnet_mpls_uc_get_s(t->label_net_byte_order));
+ vnet_mpls_uc_get_s(
+ clib_net_to_host_u32(t->label_net_byte_order)));
return s;
}