mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 20:43:02 +02:00
confd: interfaces depend on hardware, fix ordering
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user