summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-08-24 19:50:00 +0000
committerru <ru@FreeBSD.org>2006-08-24 19:50:00 +0000
commite574350b77b314c0adecc7516040ab41e14df230 (patch)
tree497691ae2a0f733220b0bf29f6b063f5ce28314e /sys/netgraph
parent604b84193c5a9267b648e183dac19af7ef3fc9eb (diff)
downloadFreeBSD-src-e574350b77b314c0adecc7516040ab41e14df230.zip
FreeBSD-src-e574350b77b314c0adecc7516040ab41e14df230.tar.gz
Fix another fallout from the IF_LLADDR() type change.
Spotted by: mwlucas
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/ng_fec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netgraph/ng_fec.c b/sys/netgraph/ng_fec.c
index fb5657c..972a00a 100644
--- a/sys/netgraph/ng_fec.c
+++ b/sys/netgraph/ng_fec.c
@@ -1093,6 +1093,7 @@ ng_fec_constructor(node_p node)
char ifname[NG_FEC_FEC_NAME_MAX + 1];
struct ifnet *ifp;
priv_p priv;
+ const uint8_t eaddr[ETHER_ADDR_LEN] = {0, 0, 0, 0, 0, 0};
struct ng_fec_bundle *b;
int error = 0;
@@ -1143,7 +1144,7 @@ ng_fec_constructor(node_p node)
log(LOG_WARNING, "%s: can't acquire netgraph name\n", ifname);
/* Attach the interface */
- ether_ifattach(ifp, IF_LLADDR(priv->ifp));
+ ether_ifattach(ifp, eaddr);
callout_handle_init(&priv->fec_ch);
/* Override output method with our own */
OpenPOWER on IntegriCloud