aboutsummaryrefslogtreecommitdiff
path: root/sys/net/bridge.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/bridge.c')
-rw-r--r--sys/net/bridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/bridge.c b/sys/net/bridge.c
index 1011f10b2839..82a24fa87674 100644
--- a/sys/net/bridge.c
+++ b/sys/net/bridge.c
@@ -352,7 +352,7 @@ add_cluster(u_int16_t cluster_id, struct ifnet *ifp)
n_clusters++;
found:
c = clusters + i; /* the right cluster ... */
- ETHER_ADDR_COPY(c->my_macs[c->ports].etheraddr, IFP2AC(ifp)->ac_enaddr);
+ ETHER_ADDR_COPY(c->my_macs[c->ports].etheraddr, IFP2ENADDR(ifp));
c->ports++;
return c;
bad: