summaryrefslogtreecommitdiffstats
path: root/sys/net/if_clone.c
diff options
context:
space:
mode:
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