mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 02:30:24 +01:00
platform: fix a typo when comparing the peer addresses
This commit is contained in:
parent
5e8e81e2cf
commit
a6c8a45463
1 changed files with 1 additions and 1 deletions
|
|
@ -2555,7 +2555,7 @@ array_contains_ip4_address (const GArray *addresses, const NMPlatformIP4Address
|
|||
|
||||
if ( candidate->address == address->address
|
||||
&& candidate->plen == address->plen
|
||||
&& ((candidate->peer_address & address->peer_address) & nm_utils_ip4_prefix_to_netmask (address->plen)) == 0) {
|
||||
&& ((candidate->peer_address ^ address->peer_address) & nm_utils_ip4_prefix_to_netmask (address->plen)) == 0) {
|
||||
guint32 lifetime, preferred;
|
||||
|
||||
if (nmp_utils_lifetime_get (candidate->timestamp, candidate->lifetime, candidate->preferred,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue