diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2011-07-01 18:10:33 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2011-07-01 18:10:33 +0200 |
commit | 956759533ff1488c251af55081db3c29daf34dab (patch) | |
tree | f55886857d8398521496f2723c5a65aba4688ea0 /src/libimcv/pa_tnc | |
parent | 294c25fa60520df309a39fdff394506d849303af (diff) | |
download | strongswan-956759533ff1488c251af55081db3c29daf34dab.tar.bz2 strongswan-956759533ff1488c251af55081db3c29daf34dab.tar.xz |
added support if the IETF port filter attribute
Diffstat (limited to 'src/libimcv/pa_tnc')
-rw-r--r-- | src/libimcv/pa_tnc/pa_tnc_attr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libimcv/pa_tnc/pa_tnc_attr.c b/src/libimcv/pa_tnc/pa_tnc_attr.c index f5c2f7bcb..d20d9a5b3 100644 --- a/src/libimcv/pa_tnc/pa_tnc_attr.c +++ b/src/libimcv/pa_tnc/pa_tnc_attr.c @@ -16,6 +16,7 @@ #include "pa_tnc_attr.h" #include "ietf/ietf_attr.h" #include "ietf/ietf_attr_pa_tnc_error.h" +#include "ietf/ietf_attr_port_filter.h" #include "ita/ita_attr_command.h" /** @@ -29,6 +30,8 @@ pa_tnc_attr_t* pa_tnc_attr_create_from_data(pen_t vendor_id, u_int32_t type, case PEN_IETF: switch (type) { + case IETF_ATTR_PORT_FILTER: + return ietf_attr_port_filter_create_from_data(value); case IETF_ATTR_PA_TNC_ERROR: return ietf_attr_pa_tnc_error_create_from_data(value); case IETF_ATTR_TESTING: @@ -37,7 +40,6 @@ pa_tnc_attr_t* pa_tnc_attr_create_from_data(pen_t vendor_id, u_int32_t type, case IETF_ATTR_NUMERIC_VERSION: case IETF_ATTR_STRING_VERSION: case IETF_ATTR_OPERATIONAL_STATUS: - case IETF_ATTR_PORT_FILTER: case IETF_ATTR_INSTALLED_PACKAGES: case IETF_ATTR_ASSESSMENT_RESULT: case IETF_ATTR_REMEDIATION_INSTRUCTIONS: |