diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2019-09-18 15:42:06 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-18 15:42:06 -0400 |
| commit | 5d9a2c67a4857563d080e085f285a701b65cb120 (patch) | |
| tree | 561cb1604ebcbe41598be9b6521523c396b9fa3f /lib/libfrr.c | |
| parent | 0a0d4f9e2e8bdf9d378c1c07a60e11f8a1bb7cec (diff) | |
| parent | 6f4e5eddc0a5ce84fd0546bb8cb21c7530ff0693 (diff) | |
Merge pull request #5008 from opensourcerouting/nb-improvements
northbound fixes and enhancements
Diffstat (limited to 'lib/libfrr.c')
| -rw-r--r-- | lib/libfrr.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libfrr.c b/lib/libfrr.c index 478fe4e205..d4aa1f899a 100644 --- a/lib/libfrr.c +++ b/lib/libfrr.c @@ -868,12 +868,7 @@ static int frr_config_read_in(struct thread *t) /* * Update the shared candidate after reading the startup configuration. */ - pthread_rwlock_rdlock(&running_config->lock); - { - nb_config_replace(vty_shared_candidate_config, running_config, - true); - } - pthread_rwlock_unlock(&running_config->lock); + nb_config_replace(vty_shared_candidate_config, running_config, true); return 0; } |
