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/ldpd.h | |
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 '')
-rw-r--r-- | ldpd/ldpd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ldpd/ldpd.h b/ldpd/ldpd.h index 352a7b0d7..00d2627f1 100644 --- a/ldpd/ldpd.h +++ b/ldpd/ldpd.h @@ -389,7 +389,7 @@ struct l2vpn_if { char ifname[IF_NAMESIZE]; unsigned int ifindex; int operative; - uint8_t mac[ETHER_ADDR_LEN]; + uint8_t mac[ETH_ALEN]; QOBJ_FIELDS }; RB_HEAD(l2vpn_if_head, l2vpn_if); @@ -566,7 +566,7 @@ struct kif { unsigned short ifindex; int flags; int operative; - uint8_t mac[ETHER_ADDR_LEN]; + uint8_t mac[ETH_ALEN]; int mtu; }; |