Synchronize ESN support in HA plugin

This commit is contained in:
Martin Willi
2011-04-20 12:26:58 +02:00
parent 390b38b8c9
commit 98788537be
4 changed files with 13 additions and 0 deletions
+2
View File
@@ -234,6 +234,7 @@ METHOD(ha_message_t, add_attribute, void,
case HA_INBOUND_CPI:
case HA_OUTBOUND_CPI:
case HA_SEGMENT:
case HA_ESN:
{
u_int16_t val;
@@ -447,6 +448,7 @@ METHOD(enumerator_t, attribute_enumerate, bool,
case HA_INBOUND_CPI:
case HA_OUTBOUND_CPI:
case HA_SEGMENT:
case HA_ESN:
{
if (this->buf.len < sizeof(u_int16_t))
{