From fa4dffdfac52587a26c1f29258376df750cf8474 Mon Sep 17 00:00:00 2001 From: David Cermak Date: Thu, 28 Nov 2024 12:51:10 +0100 Subject: [PATCH] autoip: Choose next address after rate limit --- src/core/ipv4/autoip.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/ipv4/autoip.c b/src/core/ipv4/autoip.c index 461a00533..a4a662839 100644 --- a/src/core/ipv4/autoip.c +++ b/src/core/ipv4/autoip.c @@ -224,8 +224,9 @@ autoip_conflict_callback(struct netif *netif, acd_callback_enum_t state) break; case ACD_DECLINE: /* "delete" conflicting address so a new one will be selected in - * autoip_start() */ + * autoip_start(), increment tried addr */ ip4_addr_set_any(&autoip->llipaddr); + autoip->tried_llipaddr++; autoip_stop(netif); break; default: