MPLS trace the EOS bit correctly 63/6963/2
authorNeale Ranns <nranns@cisco.com>
Wed, 31 May 2017 17:34:35 +0000 (10:34 -0700)
committerDamjan Marion <dmarion.lists@gmail.com>
Thu, 1 Jun 2017 17:18:27 +0000 (17:18 +0000)
Change-Id: I6c3fd612c19d9305f48ae0e429e12e96679e3b29
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/mpls/mpls_lookup.c

index 7cedc38..30031e5 100644 (file)
@@ -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;
 }