diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2022-09-29 14:14:11 +0000 | 
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2022-09-29 14:14:11 +0000 | 
| commit | 0dde6f4f8e604df8c6fbdab8b4aadb5ddf80c76f (patch) | |
| tree | 83c686c2b95a7045dd0a33836a68de8354ce34cb /services/mesh.c | |
| parent | 9b76d32f2310b735dbeb896cbf2776cad61f23e8 (diff) | |
Diffstat (limited to 'services/mesh.c')
| -rw-r--r-- | services/mesh.c | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/services/mesh.c b/services/mesh.c index 30bcf7cda155..2a411942663d 100644 --- a/services/mesh.c +++ b/services/mesh.c @@ -2240,3 +2240,10 @@ mesh_serve_expired_callback(void* arg)  		mesh_do_callback(mstate, LDNS_RCODE_NOERROR, msg->rep, c, &tv);  	}  } + +int mesh_jostle_exceeded(struct mesh_area* mesh) +{ +	if(mesh->all.count < mesh->max_reply_states) +		return 0; +	return 1; +} | 
