mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Don't init ifp->if_addrhead, if_attach() does it for us.
This commit is contained in:
parent
550b53a99a
commit
6d9a161274
1 changed files with 0 additions and 1 deletions
|
|
@ -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 a new issue