summaryrefslogtreecommitdiffstats
path: root/sys/net/if_clone.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2012-10-17 21:19:27 +0000
committerglebius <glebius@FreeBSD.org>2012-10-17 21:19:27 +0000
commitd5815329e7ce02286aba35004fe15ac67a6ac5e9 (patch)
tree472e569af28468be84a818e19dbfaaeb79ff1cb6 /sys/net/if_clone.c
parent53616179d3c7b797972066428db30596ca2f6802 (diff)
downloadFreeBSD-src-d5815329e7ce02286aba35004fe15ac67a6ac5e9.zip
FreeBSD-src-d5815329e7ce02286aba35004fe15ac67a6ac5e9.tar.gz
Fix VIMAGE build.
Reported by: Nikolai Lifanov <lifanov mail.lifanov.com> Pointy hat to: glebius
Diffstat (limited to 'sys/net/if_clone.c')
-rw-r--r--sys/net/if_clone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_clone.c b/sys/net/if_clone.c
index 5f68d29..fcb7131 100644
--- a/sys/net/if_clone.c
+++ b/sys/net/if_clone.c
@@ -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 {
OpenPOWER on IntegriCloud