mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 12:18:13 +02:00
ndisc: fix logic to limit the number of addresses
Fixes: c2c8c67d8c ('ndisc: rate limit number of accepted RA data to track')
This commit is contained in:
parent
b45d5f41dd
commit
eb7917a387
1 changed files with 1 additions and 1 deletions
|
|
@ -1490,7 +1490,7 @@ clean_addresses(NMNDisc *ndisc, gint64 now_msec, NMNDiscConfigMap *changed, gint
|
|||
g_array_set_size(rdata->addresses, j);
|
||||
}
|
||||
|
||||
if (_array_set_size_max(rdata->gateways, priv->config.max_addresses))
|
||||
if (_array_set_size_max(rdata->addresses, priv->config.max_addresses))
|
||||
*changed |= NM_NDISC_CONFIG_ADDRESSES;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue