diff --git a/src/confd/src/core.c b/src/confd/src/core.c index 5241e774..4acce329 100644 --- a/src/confd/src/core.c +++ b/src/confd/src/core.c @@ -354,6 +354,10 @@ static int change_cb(sr_session_ctx_t *session, uint32_t sub_id, const char *mod #endif } + /* ietf-hardware */ + if ((rc = hardware_change(session, config, diff, event, confd))) + goto free_diff; + /* ietf-interfaces */ if ((rc = interfaces_change(session, config, diff, event, confd))) goto free_diff; @@ -392,10 +396,6 @@ static int change_cb(sr_session_ctx_t *session, uint32_t sub_id, const char *mod goto free_diff; #endif - /* ietf-hardware */ - if ((rc = hardware_change(session, config, diff, event, confd))) - goto free_diff; - /* ietf-routing */ if ((rc = routing_change(session, config, diff, event, confd))) goto free_diff;