diff --git a/src/confd/src/interfaces.c b/src/confd/src/interfaces.c index 9f7be99a..6c33659b 100644 --- a/src/confd/src/interfaces.c +++ b/src/confd/src/interfaces.c @@ -78,7 +78,7 @@ static int ifchange_cand_infer_type(sr_session_ctx_t *session, const char *path) goto out; } - if (!fnmatch("wifi+([0-9])", ifname, FNM_EXTMATCH)) + if (!fnmatch("wifi+([0-9])*", ifname, FNM_EXTMATCH)) inferred.data.string_val = "infix-if-type:wifi"; else if (iface_is_phys(ifname)) inferred.data.string_val = "infix-if-type:ethernet";