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:
parent
6778cdfd3f
commit
2fbf6cf055
@ -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 */
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user