summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/peer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/peer.c b/src/peer.c
index 8a95398..979c074 100644
--- a/src/peer.c
+++ b/src/peer.c
@@ -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);