In case conflict is detected (either due to receiving Decline message or due to ICMP probe getting reply), the conflicting address becomes blocked for further use. Although the RFC is not specific about how long should the address be blocked, it make sense to implement some fallback mechanisms to reuse blocked addresses in the server, otherwise, after longer period of operation, it may run out of usable address. This commit adds a timeout for declined addresses, so that by default the address is marked back as "free" after 24 hrs (default lease time). It also implements a mechanism, which allows to re-use the oldest declined entry in case the server runs out of fresh addresses to assign. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| conn_mgr | ||
| ip | ||
| l2 | ||
| lib | ||
| pkt_filter | ||
| buf_simple.c | ||
| buf.c | ||
| CMakeLists.txt | ||
| hostname.c | ||
| Kconfig | ||
| Kconfig.hostname | ||
| Kconfig.template.log_config.default.net | ||
| Kconfig.template.log_config.net | ||