]> git.puffer.fish Git - mirror/frr.git/commit
lib: rework vty_use_backup_config() 194/head
authorDavid Lamparter <equinox@opensourcerouting.org>
Fri, 10 Feb 2017 14:04:40 +0000 (15:04 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 10 Feb 2017 14:04:40 +0000 (15:04 +0100)
commit6de469061b9933be7afaf2712cb45cb13c51a90c
tree657d1d89b453d16b3ce3151cf2d48bd71eb6db40
parent148781210fbcb1b26d5df678a400fa5dd8549e42
lib: rework vty_use_backup_config()

Like config_write(), this should use rename(), even though atomicity is
not a real issue here.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/vty.c