Skip to content

Commit

Permalink
autoip: Choose next address after rate limit
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cermak committed Nov 28, 2024
1 parent a587d92 commit fa4dffd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/ipv4/autoip.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fa4dffd

Please sign in to comment.