diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-03-31 22:15:42 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-03-31 22:15:42 +0200 |
commit | 5a516a83da3dc4bd5a2dc569bbb310562d6803ac (patch) | |
tree | f7e8debccff4785297546e87fc80526d84ec7e93 /src | |
parent | fec7c824b85b587e2e999d4b1c7209396b32b201 (diff) | |
download | strongswan-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.c | 3 |
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; |