diff options
Diffstat (limited to 'bgpd/bgp_keepalives.c')
| -rw-r--r-- | bgpd/bgp_keepalives.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_keepalives.c b/bgpd/bgp_keepalives.c index 91fa8fa373..50aad70ddc 100644 --- a/bgpd/bgp_keepalives.c +++ b/bgpd/bgp_keepalives.c @@ -123,10 +123,11 @@ static void peer_process(struct hash_backet *hb, void *arg)  		*next_update = diff;  } -static int peer_hash_cmp(const void *f, const void *s) +static bool peer_hash_cmp(const void *f, const void *s)  {  	const struct pkat *p1 = f;  	const struct pkat *p2 = s; +  	return p1->peer == p2->peer;  }  | 
