96c796ea3f
ifnet" before is has been fully initialized by if_attach(). Account for that to avoid a null pointer dereference.