aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libcharon/plugins/tnc_ifmap/tnc_ifmap_soap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcharon/plugins/tnc_ifmap/tnc_ifmap_soap.c b/src/libcharon/plugins/tnc_ifmap/tnc_ifmap_soap.c
index bce4156c3..e9dbbc79a 100644
--- a/src/libcharon/plugins/tnc_ifmap/tnc_ifmap_soap.c
+++ b/src/libcharon/plugins/tnc_ifmap/tnc_ifmap_soap.c
@@ -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;