summaryrefslogtreecommitdiff
path: root/examples/ptpclient/ptpclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ptpclient/ptpclient.c')
-rw-r--r--examples/ptpclient/ptpclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ptpclient/ptpclient.c b/examples/ptpclient/ptpclient.c
index 7d28f59..1266f52 100644
--- a/examples/ptpclient/ptpclient.c
+++ b/examples/ptpclient/ptpclient.c
@@ -401,7 +401,7 @@ parse_fup(struct ptpv2_data_slave_ordinary *ptp_data)
rte_eth_macaddr_get(ptp_data->portid, &eth_hdr->s_addr);
/* Set multicast address 01-1B-19-00-00-00. */
- ether_addr_copy(&eth_multicast, &eth_hdr->d_addr);
+ rte_ether_addr_copy(&eth_multicast, &eth_hdr->d_addr);
eth_hdr->ether_type = htons(PTP_PROTOCOL);
ptp_msg = (struct ptp_message *)