diff --git a/src/chapel.c b/src/chapel.c index 4f5c816..84a967c 100644 --- a/src/chapel.c +++ b/src/chapel.c @@ -840,7 +840,7 @@ chapel_offer_decrypt(struct sanctum_packet *pkt, u_int64_t now) * If the peer ID differs, the remote restarted and we should * offer keys immediately in response to this. */ - if (peer_id != 0 && key->id != peer_id) { + if (key->id != peer_id) { if (offer == NULL) chapel_offer_create(now, "peer restart"); }