ITA-HSR/Device ID attribute & IMV OS state machine

This commit is contained in:
Andreas Steffen
2013-06-21 23:25:22 +02:00
parent bb9d8b1853
commit 033834719d
10 changed files with 522 additions and 172 deletions
+5 -1
View File
@@ -234,7 +234,11 @@ pa_tnc_attr_t *ietf_attr_attr_request_create(pen_t vendor_id, u_int32_t type)
.list = linked_list_create(),
.ref = 1,
);
add(this, vendor_id, type);
if (vendor_id != PEN_RESERVED)
{
add(this, vendor_id, type);
}
return &this->public.pa_tnc_attribute;
}