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

This commit is contained in:
Brooks Davis 2005-04-03 05:21:29 +00:00
parent 550b53a99a
commit 6d9a161274

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)