diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-03 14:44:25 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-04 15:06:14 +0200 |
commit | 9bff805755e1999679795c39a6cd5a602a092651 (patch) | |
tree | 740185ffc79efd8c25f1b850d65701df72a35e87 /ldpd/ldp_zebra.c | |
parent | zebra: Switch to using ETH_ALEN (diff) | |
download | frr-9bff805755e1999679795c39a6cd5a602a092651.tar.xz frr-9bff805755e1999679795c39a6cd5a602a092651.zip |
ldpd: Switch to using ETH_ALEN
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ldpd/ldp_zebra.c')
-rw-r--r-- | ldpd/ldp_zebra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldpd/ldp_zebra.c b/ldpd/ldp_zebra.c index 79fff01c4..efc6bd527 100644 --- a/ldpd/ldp_zebra.c +++ b/ldpd/ldp_zebra.c @@ -64,7 +64,7 @@ ifp2kif(struct interface *ifp, struct kif *kif) kif->ifindex = ifp->ifindex; kif->operative = if_is_operative(ifp); if (ifp->ll_type == ZEBRA_LLT_ETHER) - memcpy(kif->mac, ifp->hw_addr, ETHER_ADDR_LEN); + memcpy(kif->mac, ifp->hw_addr, ETH_ALEN); } static void |