vendor ID cosmetics

This commit is contained in:
Andreas Steffen
2012-05-05 18:13:05 +02:00
parent f66a14818e
commit f7cd1cde70
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -159,7 +159,7 @@ METHOD(task_t, process, status_t,
if (chunk_equals(data, chunk_create(vendor_ids[i].id, if (chunk_equals(data, chunk_create(vendor_ids[i].id,
vendor_ids[i].len))) vendor_ids[i].len)))
{ {
DBG1(DBG_IKE, "received %s vendor id", vendor_ids[i].desc); DBG1(DBG_IKE, "received %s vendor ID", vendor_ids[i].desc);
if (vendor_ids[i].extension) if (vendor_ids[i].extension)
{ {
this->ike_sa->enable_extension(this->ike_sa, this->ike_sa->enable_extension(this->ike_sa,
@@ -170,7 +170,7 @@ METHOD(task_t, process, status_t,
} }
if (!found) if (!found)
{ {
DBG1(DBG_ENC, "received unknown vendor id: %#B", &data); DBG1(DBG_ENC, "received unknown vendor ID: %#B", &data);
} }
} }
} }
+2 -2
View File
@@ -84,12 +84,12 @@ METHOD(task_t, process, status_t,
if (chunk_equals(data, strongswan_vid)) if (chunk_equals(data, strongswan_vid))
{ {
DBG1(DBG_IKE, "received strongSwan vendor id"); DBG1(DBG_IKE, "received strongSwan vendor ID");
this->ike_sa->enable_extension(this->ike_sa, EXT_STRONGSWAN); this->ike_sa->enable_extension(this->ike_sa, EXT_STRONGSWAN);
} }
else else
{ {
DBG1(DBG_ENC, "received unknown vendor id: %#B", &data); DBG1(DBG_ENC, "received unknown vendor ID: %#B", &data);
} }
} }
} }