Fix VIMAGE build.

Reported by:	Nikolai Lifanov <lifanov mail.lifanov.com>
Pointy hat to:	glebius
This commit is contained in:
Gleb Smirnoff 2012-10-17 21:19:27 +00:00
parent 07e9aac098
commit 3aaf0159dd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=241650

View File

@ -272,7 +272,7 @@ if_clone_destroy(const char *name)
if (ifc == NULL && !IS_DEFAULT_VNET(curvnet)) {
CURVNET_SET_QUIET(vnet0);
LIST_FOREACH(ifc, &V_if_cloners, ifc_list)
if (ifc->type == SIMPLE) {
if (ifc->ifc_type == SIMPLE) {
if (ifc_simple_match(ifc, name))
break;
} else {