diff options
author | Martin Willi <martin@strongswan.org> | 2005-11-16 16:03:51 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2005-11-16 16:03:51 +0000 |
commit | e4a5b14f581ee7dec0d998eb3d0ff8e130994ac6 (patch) | |
tree | 555ebfd5cbcb73663e19601baee6aa2e318bf7dd /Source/charon/generator.c | |
parent | de257bc0be2af3b190e455ec9f1c363ac84d96d4 (diff) | |
download | strongswan-e4a5b14f581ee7dec0d998eb3d0ff8e130994ac6.tar.bz2 strongswan-e4a5b14f581ee7dec0d998eb3d0ff8e130994ac6.tar.xz |
- renamed mappings
Diffstat (limited to 'Source/charon/generator.c')
-rw-r--r-- | Source/charon/generator.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/charon/generator.c b/Source/charon/generator.c index bca13b123..091c46278 100644 --- a/Source/charon/generator.c +++ b/Source/charon/generator.c @@ -328,7 +328,7 @@ static status_t generate_u_int_type (private_generator_t *this,encoding_type_t i /* U_INT Types of multiple then 8 bits must be aligned */ if (((number_of_bits % 8) == 0) && (this->current_bit != 0)) { - this->logger->log(this->logger,CONTROL_MORE,"U_INT Type %s is not 8 Bit aligned", mapping_find(encoding_type_t_mappings,int_type)); + this->logger->log(this->logger,CONTROL_MORE,"U_INT Type %s is not 8 Bit aligned", mapping_find(encoding_type_m,int_type)); /* current bit has to be zero for values multiple of 8 bits */ return FAILED; } @@ -429,7 +429,7 @@ static status_t generate_u_int_type (private_generator_t *this,encoding_type_t i } default: - this->logger->log(this->logger,CONTROL_MORE,"U_INT Type %s is not supported", mapping_find(encoding_type_t_mappings,int_type)); + this->logger->log(this->logger,CONTROL_MORE,"U_INT Type %s is not supported", mapping_find(encoding_type_m,int_type)); return FAILED; } return SUCCESS; @@ -684,7 +684,7 @@ static status_t generate_payload (private_generator_t *this,payload_t *payload) /* spi size has to get reseted */ this->last_spi_size = 0; - this->logger->log(this->logger,CONTROL,"Start generating payload of type %s",mapping_find(payload_type_t_mappings,payload_type)); + this->logger->log(this->logger,CONTROL,"Start generating payload of type %s",mapping_find(payload_type_m,payload_type)); /* each payload has its own encoding rules */ payload->get_encoding_rules(payload,&rules,&rule_count); @@ -1009,7 +1009,7 @@ static status_t generate_payload (private_generator_t *this,payload_t *payload) break; } default: - this->logger->log(this->logger,CONTROL_MORE,"Field Type %s is not supported",mapping_find(encoding_type_t_mappings,rules[i].type)); + this->logger->log(this->logger,CONTROL_MORE,"Field Type %s is not supported",mapping_find(encoding_type_m,rules[i].type)); return NOT_SUPPORTED; } } |