Don't init ifp->if_addrhead, if_attach() does it for us.
This commit is contained in:
parent
b2a7e9bcff
commit
0c32ff384a
@ -500,7 +500,6 @@ ng_iface_constructor(node_p node)
|
||||
ifp->if_addrlen = 0; /* XXX */
|
||||
ifp->if_hdrlen = 0; /* XXX */
|
||||
ifp->if_baudrate = 64000; /* XXX */
|
||||
TAILQ_INIT(&ifp->if_addrhead);
|
||||
|
||||
/* Give this node the same name as the interface (if possible) */
|
||||
if (ng_name_node(node, ifp->if_xname) != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user