summaryrefslogtreecommitdiff
path: root/bgpd/bgp_keepalives.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_keepalives.c')
-rw-r--r--bgpd/bgp_keepalives.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bgpd/bgp_keepalives.c b/bgpd/bgp_keepalives.c
index 86202a0e3d..158f163358 100644
--- a/bgpd/bgp_keepalives.c
+++ b/bgpd/bgp_keepalives.c
@@ -252,7 +252,7 @@ void bgp_keepalives_on(struct peer *peer)
*/
assert(peerhash_mtx);
- frr_with_mutex(peerhash_mtx) {
+ frr_with_mutex (peerhash_mtx) {
holder.peer = peer;
if (!hash_lookup(peerhash, &holder)) {
struct pkat *pkat = pkat_new(peer);
@@ -280,7 +280,7 @@ void bgp_keepalives_off(struct peer *peer)
*/
assert(peerhash_mtx);
- frr_with_mutex(peerhash_mtx) {
+ frr_with_mutex (peerhash_mtx) {
holder.peer = peer;
struct pkat *res = hash_release(peerhash, &holder);
if (res) {
@@ -293,7 +293,7 @@ void bgp_keepalives_off(struct peer *peer)
void bgp_keepalives_wake(void)
{
- frr_with_mutex(peerhash_mtx) {
+ frr_with_mutex (peerhash_mtx) {
pthread_cond_signal(peerhash_cond);
}
}