]> git.puffer.fish Git - matthieu/frr.git/commit
vtysh: Call fflush+fsync before calling fclose() when saving the config
authorDonatas Abraitis <donatas@opensourcerouting.org>
Tue, 19 Apr 2022 11:01:13 +0000 (14:01 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Tue, 19 Apr 2022 11:01:13 +0000 (14:01 +0300)
commit789c5919cf355afdac9ed24e468c8009df0f163b
tree5519c9b5070ca3fc29e3f56fc78c5bb0fa40cb34
parentf5327fc339b05fb6fce51cf2feb0c8338b16747e
vtysh: Call fflush+fsync before calling fclose() when saving the config

A safety check we flushed the data to the storage.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
vtysh/vtysh.c