Fix module from panic.

Pointy hat:	brooks
MFC after:	3 days
This commit is contained in:
Roman Kurakin 2006-01-29 22:06:51 +00:00
parent 8ad6b7ab7c
commit 439635c43e

View File

@ -262,6 +262,7 @@ ng_sppp_constructor (node_p node)
/* Link them together */
ifp->if_softc = priv;
priv->ifp = ifp;
/* Get an interface unit number */
if ((error = ng_sppp_get_unit(&priv->unit)) != 0) {