diff options
author | ru <ru@FreeBSD.org> | 2005-11-11 07:36:14 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-11-11 07:36:14 +0000 |
commit | ed1132ceab2c722cdbb8d3cf5a717b07ee5ff2c0 (patch) | |
tree | 4d7e562715c0e571dbcf93217dd79abe8f2fb3dd /sys/net/if_arp.h | |
parent | 1ec898f53b484ad30595658bdf47c994728abe50 (diff) | |
download | FreeBSD-src-ed1132ceab2c722cdbb8d3cf5a717b07ee5ff2c0.zip FreeBSD-src-ed1132ceab2c722cdbb8d3cf5a717b07ee5ff2c0.tar.gz |
- Make IFP2ENADDR() a pointer to IF_LLADDR() rather than another
copy of Ethernet address.
- Change iso88025_ifattach() and fddi_ifattach() to accept MAC
address as an argument, similar to ether_ifattach(), to make
this work.
Diffstat (limited to 'sys/net/if_arp.h')
-rw-r--r-- | sys/net/if_arp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_arp.h b/sys/net/if_arp.h index 9aa63c6..c9cd15f 100644 --- a/sys/net/if_arp.h +++ b/sys/net/if_arp.h @@ -103,7 +103,7 @@ struct arpreq { */ struct arpcom { struct ifnet *ac_ifp; /* network-visible interface */ - u_char _ac_enaddr[6]; /* ethernet hardware address */ + u_char *_ac_enaddr; /* ethernet hardware address */ void *ac_netgraph; /* ng_ether(4) netgraph node info */ }; #define IFP2AC(ifp) ((struct arpcom *)(ifp->if_l2com)) |