summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-05-18 03:08:58 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-05-18 03:08:58 +0200
commit4429f145e6645976cf144582554115d8605d4f2d (patch)
tree4b912e62b7d77c012e98715e516e6200a65b9c82
parentb34b3e2817950c6cccbc9cf2fce8cc137f433a88 (diff)
downloadfastd-4429f145e6645976cf144582554115d8605d4f2d.tar
fastd-4429f145e6645976cf144582554115d8605d4f2d.zip
Don't consider enable state on peer config change detection
-rw-r--r--src/peer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/peer.c b/src/peer.c
index a1fb774..db1f61a 100644
--- a/src/peer.c
+++ b/src/peer.c
@@ -295,9 +295,6 @@ bool fastd_peer_claim_address(fastd_context *ctx, fastd_peer *new_peer, const fa
}
bool fastd_peer_config_equal(const fastd_peer_config *peer1, const fastd_peer_config *peer2) {
- if (peer1->enabled != peer2->enabled)
- return false;
-
if (!strequal(peer1->hostname, peer2->hostname))
return false;