Skip to content
This repository has been archived by the owner on Feb 12, 2019. It is now read-only.

Commit

Permalink
add printing of domain when trying to send to non-whitelisted domain
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredmauch authored and smokku committed Mar 5, 2018
1 parent 3aa00ee commit 0d48a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s2s/out.c
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ int out_packet(s2s_t s2s, pkt_t pkt) {
if (s2s->enable_whitelist > 0 &&
(pkt->to->domain != NULL) &&
(s2s_domain_in_whitelist(s2s, pkt->to->domain) == 0)) {
log_write(s2s->log, LOG_NOTICE, "sending a packet to domain not in the whitelist, dropping it");
log_write(s2s->log, LOG_NOTICE, "sending a packet to domain not in the whitelist %s, dropping it", pkt->to->domain);
jid_free(pkt->to);
jid_free(pkt->from);
nad_free(pkt->nad);
Expand Down

0 comments on commit 0d48a56

Please sign in to comment.