diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-04 21:04:46 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-04 21:04:46 -0500 |
| commit | e4e41e3277ceb0e911d691945709cca79f71aade (patch) | |
| tree | 715ce257233c4358d13e3c731529e7d2adada214 /ldpd/ldp_zebra.c | |
| parent | bc6cec21c458ff9a3e82f38bb3f5cf23143ba8c1 (diff) | |
| parent | ffdc293b9dc0ed746a31fcf20765c2d5e85e9c70 (diff) | |
Merge pull request #249 from opensourcerouting/ldpd-rfcs
ldpd: implement new RFCs and other assorted enhancements
Diffstat (limited to 'ldpd/ldp_zebra.c')
| -rw-r--r-- | ldpd/ldp_zebra.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ldpd/ldp_zebra.c b/ldpd/ldp_zebra.c index 12954b91af..c41a0dbd91 100644 --- a/ldpd/ldp_zebra.c +++ b/ldpd/ldp_zebra.c @@ -65,6 +65,8 @@ ifp2kif(struct interface *ifp, struct kif *kif) strlcpy(kif->ifname, ifp->name, sizeof(kif->ifname)); kif->ifindex = ifp->ifindex; kif->flags = ifp->flags; + if (ifp->ll_type == ZEBRA_LLT_ETHER) + memcpy(kif->mac, ifp->hw_addr, ETHER_ADDR_LEN); } static void |
