From 21ec2c7fb4ec4bae646456494090b8afa35ffbba Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 27 Sep 2016 17:19:55 +0200 Subject: [PATCH] fixes a copy paste error in the service ubus binding Signed-off-by: John Crispin --- service/service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/service.c b/service/service.c index 0796adb..95978b5 100644 --- a/service/service.c +++ b/service/service.c @@ -363,7 +363,7 @@ service_handle_update(struct ubus_context *ctx, struct ubus_object *obj, blobmsg_parse(service_attrs, __SERVICE_ATTR_MAX, tb, blob_data(msg), blob_len(msg)); - cur = tb[SERVICE_ATTR_NAME]; + cur = tb[SERVICE_SET_NAME]; if (!cur) return UBUS_STATUS_INVALID_ARGUMENT; -- 2.25.1