[Dnsmasq-discuss] [Feature-Request] Make HighLoad constant value configurable from config.h
Серж ИвановЪ
evasive.gyron at gmail.com
Fri Apr 8 13:34:11 UTC 2022
I am talking about this part of code in src/dhcp.c
```
struct ping_result *do_icmp_ping(time_t now, struct in_addr addr, unsigned
int h
{
static struct ping_result dummy;
struct ping_result *r, *victim = NULL;
int count, max = (int)(0.6 * (((float)PING_CACHE_TIME)/
((float)PING_WAIT)));
```
0.6 should be configurable via compile-time constants, not hard-coded
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20220408/8ee218bc/attachment.htm>
More information about the Dnsmasq-discuss
mailing list