]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_keepalives.c
Merge pull request #5686 from qlyoung/fix-bgp-fqdn-capability-leak
[mirror_frr.git] / bgpd / bgp_keepalives.c
index 3a49e8bc00afe5ba01104394cea2bb34b0f7dd60..3a5adae8748091c6ba940497e23788934147fbb2 100644 (file)
@@ -95,7 +95,7 @@ static void peer_process(struct hash_bucket *hb, void *arg)
        static struct timeval ka = {0}; // peer->v_keepalive as a timeval
        static struct timeval diff;     // ka - elapsed
 
-       static struct timeval tolerance = {0, 100000};
+       static const struct timeval tolerance = {0, 100000};
 
        uint32_t v_ka = atomic_load_explicit(&pkat->peer->v_keepalive,
                                             memory_order_relaxed);