aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2013-03-31 22:15:42 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2013-03-31 22:15:42 +0200
commit5a516a83da3dc4bd5a2dc569bbb310562d6803ac (patch)
treef7e8debccff4785297546e87fc80526d84ec7e93 /src
parentfec7c824b85b587e2e999d4b1c7209396b32b201 (diff)
downloadstrongswan-5a516a83da3dc4bd5a2dc569bbb310562d6803ac.tar.bz2
strongswan-5a516a83da3dc4bd5a2dc569bbb310562d6803ac.tar.xz
fixed capability metadata
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;