At init time:
cfg_template_t *cfg = cfg_get_config_id(NCX_CFGID_RUNNING);
ncx_transaction_id_t save_id = cfg->cur_txid;
Later, get the cur_txid again and compare to to save_id. It the running datastore has been updated (or even an empty commit done) then the transaction-id will be updated.
How can I tell if the running config has changed since the last startup? Print
Modified on: Mon, 2 Apr, 2018 at 3:47 PM
Did you find it helpful? Yes No
Send feedbackSorry we couldn't be helpful. Help us improve this article with your feedback.