summaryrefslogtreecommitdiff
path: root/doc/guides/sample_app_ug/ipv4_multicast.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/guides/sample_app_ug/ipv4_multicast.rst')
-rw-r--r--doc/guides/sample_app_ug/ipv4_multicast.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/guides/sample_app_ug/ipv4_multicast.rst b/doc/guides/sample_app_ug/ipv4_multicast.rst
index 1fe6bf1..0b44ab9 100644
--- a/doc/guides/sample_app_ug/ipv4_multicast.rst
+++ b/doc/guides/sample_app_ug/ipv4_multicast.rst
@@ -227,8 +227,8 @@ The actual packet transmission is done in the mcast_send_pkt() function:
RTE_ASSERT(ethdr != NULL);
- ether_addr_copy(dest_addr, &ethdr->d_addr);
- ether_addr_copy(&ports_eth_addr[port], &ethdr->s_addr);
+ rte_ether_addr_copy(dest_addr, &ethdr->d_addr);
+ rte_ether_addr_copy(&ports_eth_addr[port], &ethdr->s_addr);
ethdr->ether_type = rte_be_to_cpu_16(ETHER_TYPE_IPv4);
/* Put new packet into the output queue */