Don't init ifp->if_addrhead, if_attach() does it for us.

This commit is contained in:
brooks 2005-04-03 05:21:29 +00:00
parent b2a7e9bcff
commit 0c32ff384a

View File

@ -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)