summaryrefslogtreecommitdiffstats
path: root/ldpd/ldp_zebra.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-08-03 14:44:25 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-08-04 15:06:14 +0200
commit9bff805755e1999679795c39a6cd5a602a092651 (patch)
tree740185ffc79efd8c25f1b850d65701df72a35e87 /ldpd/ldp_zebra.c
parentzebra: Switch to using ETH_ALEN (diff)
downloadfrr-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.c2
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