summaryrefslogtreecommitdiff
path: root/doc/guides/sample_app_ug/l2_forward_real_virtual.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/guides/sample_app_ug/l2_forward_real_virtual.rst')
-rw-r--r--doc/guides/sample_app_ug/l2_forward_real_virtual.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/guides/sample_app_ug/l2_forward_real_virtual.rst b/doc/guides/sample_app_ug/l2_forward_real_virtual.rst
index 54e5b80..bede06e 100644
--- a/doc/guides/sample_app_ug/l2_forward_real_virtual.rst
+++ b/doc/guides/sample_app_ug/l2_forward_real_virtual.rst
@@ -383,7 +383,7 @@ Naturally, the number of ports in the portmask must be even, otherwise, the appl
/* src addr */
- ether_addr_copy(&l2fwd_ports_eth_addr[dst_port], &eth->s_addr);
+ rte_ether_addr_copy(&l2fwd_ports_eth_addr[dst_port], &eth->s_addr);
l2fwd_send_packet(m, (uint8_t) dst_port);
}