aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-16 00:54:34 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-16 17:21:57 +0100
commit9c78644a9454fa53c903cb3855d0199a257cc2b3 (patch)
treeba427db4028d84de9df4d1a011d06a48d41c87f2
parent809e12504c16f280e2e8bf1ca5a9a4d53ed0e8ab (diff)
Fix diagnostic message name mismatch at decoding.
Retrieve adr name prefixed will add uneeded prefix as it is already present. At build time of a Diagnostic request from a diagnostic message, this prefix is added so adr name is already correct. *adr: active diagnostic request Change-Id: Ie5c364bf47a28c80290021651941cd37fa26321a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--src/diagnostic/active-diagnostic-request.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diagnostic/active-diagnostic-request.cpp b/src/diagnostic/active-diagnostic-request.cpp
index 4f288663..a21f7303 100644
--- a/src/diagnostic/active-diagnostic-request.cpp
+++ b/src/diagnostic/active-diagnostic-request.cpp
@@ -89,7 +89,7 @@ DiagnosticRequestHandle* active_diagnostic_request_t::get_handle()
const std::string active_diagnostic_request_t::get_name() const
{
- return active_diagnostic_request_t::prefix_ + "." + name_;
+ return name_;
}
std::string& active_diagnostic_request_t::get_prefix()