]> git.puffer.fish Git - matthieu/frr.git/commit
mgmtd: don't add implicit state data when reading config from file
authorIgor Ryzhov <idryzhov@gmail.com>
Wed, 7 Aug 2024 21:40:51 +0000 (00:40 +0300)
committerIgor Ryzhov <idryzhov@gmail.com>
Wed, 7 Aug 2024 21:45:13 +0000 (00:45 +0300)
commit61e8d5e0b9f0ccb7647a04974f7134ede67fedd8
tree013596e638abf35d7340408dbb345d7df2762a70
parentd36ff6df2be1f2dcc78a442fc7bc7badc25865e9
mgmtd: don't add implicit state data when reading config from file

When mgmt reads configuration from file, it shouldn't add implicit state
data to the candidate datastore. Configuration datastores like candidate
should never store state, otherwise they fail validation.

Fixes #15814

Signed-off-by: Igor Ryzhov <idryzhov@gmail.com>
mgmtd/mgmt_ds.c