l3cfg: fix handling of removed addresses

If the address appears after being removed, start defending it instead
of throwing an assertion.
This commit is contained in:
Beniamino Galvani 2021-11-10 16:45:40 +01:00
parent fcfa598fc2
commit c5f26a546b

View file

@ -2723,10 +2723,10 @@ handle_probing_done:
goto handle_start_defending;
case NM_L3_ACD_ADDR_STATE_READY:
case NM_L3_ACD_ADDR_STATE_DEFENDING:
case NM_L3_ACD_ADDR_STATE_EXTERNAL_REMOVED:
goto handle_start_defending;
case NM_L3_ACD_ADDR_STATE_CONFLICT:
return;
case NM_L3_ACD_ADDR_STATE_EXTERNAL_REMOVED:
nm_assert_not_reached();
return;
}