mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-01 02:08:02 +02:00
The peer-address (IFA_ADDRESS) can also be all-zero (0.0.0.0). That is distinct from an usual address without explicit peer-address, which implicitly has the same peer and local address. Previously, we treated an all-zero peer_address as having peer and local address equal. This is especially grave, because the peer is part of the primary key for an IPv4 address. So we not only get a property of the address wrong, but we wrongly consider two different addresses as one and the same. To properly handle these addresses, we always must explicitly set the peer. |
||
|---|---|---|
| .. | ||
| tests | ||
| nm-dnsmasq-manager.c | ||
| nm-dnsmasq-manager.h | ||
| nm-dnsmasq-utils.c | ||
| nm-dnsmasq-utils.h | ||