diff --git a/src/port/ntapi_port_name_helper.c b/src/port/ntapi_port_name_helper.c index a918df7..dabbdc0 100644 --- a/src/port/ntapi_port_name_helper.c +++ b/src/port/ntapi_port_name_helper.c @@ -251,6 +251,10 @@ static int32_t __tt_port_attr_from_name( if (name->port_name_keys.uscore_5th != '_') return NT_STATUS_INVALID_PARAMETER; + /* type */ + attr->type = type; + attr->subtype = 0; + /* unknown defaults */ attr->ver_major = 0; attr->ver_minor = 0;