Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
MPLS Unifom mode
[vpp.git]
/
src
/
vnet
/
bier
/
bier_output.c
diff --git
a/src/vnet/bier/bier_output.c
b/src/vnet/bier/bier_output.c
index
db115d3
..
01eeffe
100644
(file)
--- a/
src/vnet/bier/bier_output.c
+++ b/
src/vnet/bier/bier_output.c
@@
-140,8
+140,8
@@
bier_output (vlib_main_t * vm,
h0 = vlib_buffer_get_current(b0);
h0[0] = bfm0->bfm_label;
- vnet_mpls_uc_set_ttl(h0, vnet_buffer(b0)->mpls.ttl - 1);
-
h0[0] = clib_host_to_net_u32(h0[0])
;
+
+
((char*)h0)[3]= vnet_buffer(b0)->mpls.ttl - 1
;
}
/*