ndisc: remove redundant DAD logging
The log message here is not needed anymore, as the conflict is already logged by nm-device. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1787
This commit is contained in:

committed by
Beniamino Galvani

parent
856cbbd663
commit
94643d7e43
@@ -1293,10 +1293,8 @@ nm_ndisc_dad_failed(NMNDisc *ndisc, GArray *addresses, gboolean emit_changed_sig
|
|||||||
NMNDiscAddress *item = &nm_g_array_index(rdata->addresses, NMNDiscAddress, j);
|
NMNDiscAddress *item = &nm_g_array_index(rdata->addresses, NMNDiscAddress, j);
|
||||||
|
|
||||||
if (IN6_ARE_ADDR_EQUAL(&item->address, addr)) {
|
if (IN6_ARE_ADDR_EQUAL(&item->address, addr)) {
|
||||||
char sbuf[NM_INET_ADDRSTRLEN];
|
|
||||||
|
|
||||||
_LOGI("DAD failed for discovered address %s", nm_inet6_ntop(addr, sbuf));
|
|
||||||
changed = TRUE;
|
changed = TRUE;
|
||||||
|
|
||||||
if (!complete_address(ndisc, item)) {
|
if (!complete_address(ndisc, item)) {
|
||||||
g_array_remove_index(rdata->addresses, j);
|
g_array_remove_index(rdata->addresses, j);
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user