rename script_data to node_info
[project/usteer.git] / parse.c
diff --git a/parse.c b/parse.c
index 800ae5aa99512c17356ae37e30333e6a01abc694..d8bd3599ea971786899a3998df3f333e1ec47935 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -60,7 +60,7 @@ bool parse_apmsg_node(struct apmsg_node *msg, struct blob_attr *data)
                [APMSG_NODE_NOISE] = { .type = BLOB_ATTR_INT32 },
                [APMSG_NODE_LOAD] = { .type = BLOB_ATTR_INT32 },
                [APMSG_NODE_RRM_NR] = { .type = BLOB_ATTR_NESTED },
-               [APMSG_NODE_SCRIPT_DATA] = { .type = BLOB_ATTR_NESTED },
+               [APMSG_NODE_NODE_INFO] = { .type = BLOB_ATTR_NESTED },
        };
        struct blob_attr *tb[__APMSG_NODE_MAX];
        struct blob_attr *cur;
@@ -105,7 +105,7 @@ bool parse_apmsg_node(struct apmsg_node *msg, struct blob_attr *data)
                        msg->rrm_nr = NULL;
        }
 
-       msg->script_data = tb[APMSG_NODE_SCRIPT_DATA];
+       msg->node_info = tb[APMSG_NODE_NODE_INFO];
 
        return true;
 }