aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2006-08-24 19:50:00 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2006-08-24 19:50:00 +0000
commita819085b875517e19b7e83e4232e5babbf3796d7 (patch)
tree497691ae2a0f733220b0bf29f6b063f5ce28314e /sys/netgraph
parent3a30d178fec5438289b2df8fe62938c5e9ad755d (diff)
Notes
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 fb5657c748c6..972a00aa45e5 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 */