Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
newconf: remove plaintext listeners warning
Browse files Browse the repository at this point in the history
Closes #270

[ci skip]
  • Loading branch information
aaronmdjones committed Mar 27, 2019
1 parent 40a766a commit c87c8e5
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions ircd/newconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -883,12 +883,6 @@ conf_set_listen_port_both(void *data, int ssl, int sctp)
}
if(listener_address[0] == NULL)
{
if (!ssl)
{
conf_report_warning("listener 'ANY/%d': support for plaintext listeners may be removed in a future release per RFCs 7194 & 7258. "
"It is suggested that users be migrated to SSL/TLS connections.", args->v.number);
}

if (sctp) {
conf_report_error("listener::sctp_port has no addresses -- ignoring.");
} else {
Expand All @@ -904,12 +898,6 @@ conf_set_listen_port_both(void *data, int ssl, int sctp)
else
family = AF_INET;

if (!ssl)
{
conf_report_warning("listener '%s/%d': support for plaintext listeners may be removed in a future release per RFCs 7194 & 7258. "
"It is suggested that users be migrated to SSL/TLS connections.", listener_address, args->v.number);
}

if (sctp) {
#ifdef HAVE_LIBSCTP
add_sctp_listener(args->v.number, listener_address[0], listener_address[1], ssl, yy_wsock);
Expand Down

0 comments on commit c87c8e5

Please sign in to comment.