implemented IETF Operational Status attribute

This commit is contained in:
Andreas Steffen
2012-10-13 20:34:50 +02:00
parent 4bc119afb7
commit 07a3dee937
8 changed files with 501 additions and 2 deletions
+3 -1
View File
@@ -19,6 +19,7 @@
#include "ietf/ietf_attr_fwd_enabled.h"
#include "ietf/ietf_attr_default_pwd_enabled.h"
#include "ietf/ietf_attr_installed_packages.h"
#include "ietf/ietf_attr_op_status.h"
#include "ietf/ietf_attr_pa_tnc_error.h"
#include "ietf/ietf_attr_port_filter.h"
#include "ietf/ietf_attr_product_info.h"
@@ -54,6 +55,8 @@ pa_tnc_attr_t* ietf_attr_create_from_data(u_int32_t type, chunk_t value)
return ietf_attr_product_info_create_from_data(value);
case IETF_ATTR_STRING_VERSION:
return ietf_attr_string_version_create_from_data(value);
case IETF_ATTR_OPERATIONAL_STATUS:
return ietf_attr_op_status_create_from_data(value);
case IETF_ATTR_PORT_FILTER:
return ietf_attr_port_filter_create_from_data(value);
case IETF_ATTR_INSTALLED_PACKAGES:
@@ -68,7 +71,6 @@ pa_tnc_attr_t* ietf_attr_create_from_data(u_int32_t type, chunk_t value)
return ietf_attr_default_pwd_enabled_create_from_data(value);
case IETF_ATTR_TESTING:
case IETF_ATTR_NUMERIC_VERSION:
case IETF_ATTR_OPERATIONAL_STATUS:
case IETF_ATTR_REMEDIATION_INSTRUCTIONS:
case IETF_ATTR_RESERVED:
default: