From ed50a21c79d20b657d651cb5d6db101dff233372 Mon Sep 17 00:00:00 2001 From: Amin Ben Ramdhane Date: Fri, 20 Dec 2019 23:50:30 +0100 Subject: [PATCH] Change the value of 'Device.Users.User.{i}.Password' parameter to empty according to the standard --- dmtree/tr181/users.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmtree/tr181/users.c b/dmtree/tr181/users.c index 4440c327..cec5b7f7 100644 --- a/dmtree/tr181/users.c +++ b/dmtree/tr181/users.c @@ -160,7 +160,7 @@ int get_user_username(char *refparam, struct dmctx *ctx, void *data, char *insta /*#Device.Users.User.{i}.Password!UCI:users/user,@i-1/password*/ int get_user_password(char *refparam, struct dmctx *ctx, void *data, char *instance, char **value) { - dmuci_get_value_by_section_string((struct uci_section *)data, "password", value); + *value = ""; return 0; }