fixed capability metadata

This commit is contained in:
Andreas Steffen
2013-03-31 22:15:42 +02:00
parent fec7c824b8
commit 5a516a83da
@@ -371,9 +371,10 @@ static xmlNodePtr create_capability(private_tnc_ifmap_soap_t *this,
node2 = xmlNewNode(NULL, "name");
xmlAddChild(node, node2);
snprintf(buf, BUF_LEN, "%Y", name);
xmlNodeAddContent(node2, this->device_name);
xmlNodeAddContent(node2, buf);
node2 = xmlNewNode(NULL, "administrative-domain");
xmlAddChild(node, node2);
xmlNodeAddContent(node2, "strongswan");
return node;