summaryrefslogtreecommitdiff
path: root/src/network/networkd-lldp-rx.c
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2020-10-26 18:07:49 +0100
committerTimo Rothenpieler <timo@rothenpieler.org>2020-10-28 14:44:43 +0100
commitb8162cd200c69be509475b8f2184a5ac651fc2b0 (patch)
treea6b07641f3794fd3b204e7a9c2f2a8a26e163ba1 /src/network/networkd-lldp-rx.c
parent4fc8a29a7e06debb65f4e2651a03804beb41f781 (diff)
downloadsystemd-b8162cd200c69be509475b8f2184a5ac651fc2b0.tar.gz
network: store full hardware address in Link struct
This passes the legacy ethernet address to functions in a lot of places, which all will need migrated to handle arbitrary size hardware addresses eventually.
Diffstat (limited to 'src/network/networkd-lldp-rx.c')
-rw-r--r--src/network/networkd-lldp-rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-lldp-rx.c b/src/network/networkd-lldp-rx.c
index 65a8a314d6..4d431ac840 100644
--- a/src/network/networkd-lldp-rx.c
+++ b/src/network/networkd-lldp-rx.c
@@ -93,7 +93,7 @@ int link_lldp_rx_configure(Link *link) {
if (r < 0)
return r;
- r = sd_lldp_set_filter_address(link->lldp, &link->mac);
+ r = sd_lldp_set_filter_address(link->lldp, &link->hw_addr.addr.ether);
if (r < 0)
return r;