From 549630130459a3b7b6d1e1c91e51d061495aa334 Mon Sep 17 00:00:00 2001 From: ru Date: Mon, 15 Dec 2003 11:28:15 +0000 Subject: 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. --- sys/netgraph/ng_eiface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/netgraph') diff --git a/sys/netgraph/ng_eiface.c b/sys/netgraph/ng_eiface.c index 10862f4..95bfce3 100644 --- a/sys/netgraph/ng_eiface.c +++ b/sys/netgraph/ng_eiface.c @@ -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 */ }; -- cgit v1.1