diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2019-10-09 22:17:08 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2019-10-11 21:18:36 -0300 |
| commit | 91f9fd78cb32396e95567fc59ec9741b620c22be (patch) | |
| tree | 88781f91e3e645226c210ea9c433881dc2c32336 /lib/json.c | |
| parent | 5e6a9350c16f54113eeedb497c98fe45b8ce6222 (diff) | |
lib: optimize loading of the startup configuration
Load the startup configuration directly into the CLI shared candidate
configuration instead of loading it into a private candidate
configuration. This way we don't need to initialize the shared
candidate separately later as a copy of the running configuration,
which is a potentially expensive operation.
Also, make the northbound process SIGHUP correctly even when --tcli
is not used.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/json.c')
0 files changed, 0 insertions, 0 deletions
