implemented IETF Factory Default Password Enabled attribute
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include "ietf/ietf_attr_assess_result.h"
|
||||
#include "ietf/ietf_attr_attr_request.h"
|
||||
#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_pa_tnc_error.h"
|
||||
#include "ietf/ietf_attr_port_filter.h"
|
||||
@@ -63,11 +64,12 @@ pa_tnc_attr_t* ietf_attr_create_from_data(u_int32_t type, chunk_t value)
|
||||
return ietf_attr_assess_result_create_from_data(value);
|
||||
case IETF_ATTR_FORWARDING_ENABLED:
|
||||
return ietf_attr_fwd_enabled_create_from_data(value);
|
||||
case IETF_ATTR_FACTORY_DEFAULT_PWD_ENABLED:
|
||||
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_FACTORY_DEFAULT_PWD_ENABLED:
|
||||
case IETF_ATTR_RESERVED:
|
||||
default:
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user