diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/peer.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -708,6 +708,9 @@ static inline bool peer_configs_equal(const fastd_peer_t *peer1, const fastd_pee if (VECTOR_LEN(peer1->remotes) != VECTOR_LEN(peer2->remotes)) return false; + if (!strequal(peer1->ifname, peer2->ifname)) + return false; + size_t i; for (i = 0; i < VECTOR_LEN(peer1->remotes); i++) { const fastd_remote_t *remote1 = &VECTOR_INDEX(peer1->remotes, i), *remote2 = &VECTOR_INDEX(peer2->remotes, i); |