1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

MFS: Make struct arpcom the first entry in softc. (There are at least

two functions in sys/net/if.c that assume that softc starts with arpcom.)
This makes setting of ethernet address via ifconfig(8) work as expected.
This commit is contained in:
Ruslan Ermilov 2003-12-15 11:28:15 +00:00
parent 6778cdfd3f
commit 2fbf6cf055
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123549

View File

@ -79,9 +79,9 @@ static const struct ng_cmdlist ng_eiface_cmdlist[] = {
/* Node private data */
struct ng_eiface_private {
struct arpcom arpcom; /* per-interface network data */
struct ifnet *ifp; /* This interface */
int unit; /* Interface unit number */
struct arpcom arpcom; /* per-interface network data */
node_p node; /* Our netgraph node */
hook_p ether; /* Hook for ethernet stream */
};