From a280a11f46cc72dfa1151ecf3aa6ea79bc7ff978 Mon Sep 17 00:00:00 2001 From: Amin Ben Ramdhane Date: Tue, 17 Dec 2019 11:31:24 +0100 Subject: [PATCH] Fix the value of Device.DynamicDNS.SupportedServices parameter --- dmtree/tr181/dynamicdns.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dmtree/tr181/dynamicdns.c b/dmtree/tr181/dynamicdns.c index 01152a7c..e9ff9387 100644 --- a/dmtree/tr181/dynamicdns.c +++ b/dmtree/tr181/dynamicdns.c @@ -385,6 +385,7 @@ int get_DynamicDNS_SupportedServices(char *refparam, struct dmctx *ctx, void *da pch = strtok_r(line, "\t", &spch); remove_substring(pch, "\""); + remove_substring(pch, " "); if (strcmp(buf, "") == 0) { sprintf(buf, "%s", pch); } else {