aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ethernet/node.c
diff options
context:
space:
mode:
authorZhiyong Yang <zhiyong.yang@intel.com>2020-05-09 07:13:34 +0000
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-05-10 00:14:40 +0000
commitcbe36e47b5647becc6c03a08e2745ee5ead5de20 (patch)
tree621b9136f02ece9905c91eb2ec4ba1289b793e15 /src/vnet/ethernet/node.c
parent5c318c70d09a530a7bd89f973e931def0ba191a4 (diff)
ethernet: fix dmac stride error
Type: fix Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com> Change-Id: I617fb365def22a28d48f75013dea38f8e1703a44
Diffstat (limited to 'src/vnet/ethernet/node.c')
-rwxr-xr-xsrc/vnet/ethernet/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ethernet/node.c b/src/vnet/ethernet/node.c
index 5136da4e525..3c4330e6225 100755
--- a/src/vnet/ethernet/node.c
+++ b/src/vnet/ethernet/node.c
@@ -902,7 +902,7 @@ eth_input_process_frame (vlib_main_t * vm, vlib_node_runtime_t * node,
n_left -= 1;
etype += 1;
tag += 1;
- dmac += 4;
+ dmac += 1;
}
if (dmac_check)