aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/generator.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/generator.c')
-rw-r--r--Source/charon/generator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/charon/generator.c b/Source/charon/generator.c
index 92afae68d..ec781b8b2 100644
--- a/Source/charon/generator.c
+++ b/Source/charon/generator.c
@@ -994,7 +994,8 @@ static status_t generate_payload (private_generator_t *this,payload_t *payload)
}
else
{
- status = this->write_bytes_to_buffer(this,(this->data_struct + rules[i].offset),2);
+ status = this->generate_u_int_type(this,U_INT_16,rules[i].offset);
+// status = this->write_bytes_to_buffer(this,(this->data_struct + rules[i].offset),2);
}
break;
}