service: fix object nesting in the ubus get_data call
authorFelix Fietkau <[email protected]>
Tue, 12 Aug 2025 15:31:25 +0000 (17:31 +0200)
committerFelix Fietkau <[email protected]>
Tue, 12 Aug 2025 15:31:26 +0000 (17:31 +0200)
commitdafdf98b03bfa6014cd94ffc86de130b9deb17e4
tree9005128c6b547b4dd4a26027a64e615d02696bd7
parent46780098002167070c665f03f1a8ed76d1e1c55f
service: fix object nesting in the ubus get_data call

Depending on the contents, instance sub-objects can be confused with
per-service data items. Fix the nesting by making an instance object
for service items.

Signed-off-by: Felix Fietkau <[email protected]>
service/service.c