Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
BD ARP entry use common API types
[vpp.git]
/
src
/
vnet
/
l2
/
l2_vtr.c
diff --git
a/src/vnet/l2/l2_vtr.c
b/src/vnet/l2/l2_vtr.c
index
3c5365f
..
7096891
100644
(file)
--- a/
src/vnet/l2/l2_vtr.c
+++ b/
src/vnet/l2/l2_vtr.c
@@
-177,7
+177,7
@@
l2vtr_configure (vlib_main_t * vlib_main, vnet_main_t * vnet_main, u32 sw_if_ind
vtr_tag1 = clib_net_to_host_u16 (vtr_tag1);
vtr_tag2 = clib_net_to_host_u16 (vtr_tag2);
vtr_tag1 = clib_net_to_host_u16 (vtr_tag1);
vtr_tag2 = clib_net_to_host_u16 (vtr_tag2);
- /* Determine number of vlan tags with explictly configured values */
+ /* Determine number of vlan tags with explic
i
tly configured values */
cfg_tags = 0;
if (hw_no_tags || si->sub.eth.flags.no_tags)
{
cfg_tags = 0;
if (hw_no_tags || si->sub.eth.flags.no_tags)
{
@@
-229,9
+229,6
@@
l2vtr_configure (vlib_main_t * vlib_main, vnet_main_t * vnet_main, u32 sw_if_ind
}
in_config->pop_bytes = 8;
in_config->push_bytes = 0;
}
in_config->pop_bytes = 8;
in_config->push_bytes = 0;
-
- out_config->push_bytes = in_config->pop_bytes;
- out_config->pop_bytes = in_config->push_bytes;
break;
case L2_VTR_PUSH_1:
break;
case L2_VTR_PUSH_1: