Skip to content

Commit

Permalink
more precise error message for redirect installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Koeppe committed Feb 14, 2025
1 parent 9673d0d commit fef7edc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ec_sslwrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -504,13 +504,13 @@ static void sslw_bind_wrapper(void)
if (ec_redirect(EC_REDIR_ACTION_INSERT, le->name,
EC_REDIR_PROTO_IPV4, NULL,
le->sslw_port, le->redir_port) != E_SUCCESS)
FATAL_ERROR("Can't insert firewall redirects");
FATAL_ERROR("Can't insert IPv4 firewall redirects");

#ifdef WITH_IPV6
if (ec_redirect(EC_REDIR_ACTION_INSERT, le->name,
EC_REDIR_PROTO_IPV6, NULL,
le->sslw_port, le->redir_port) != E_SUCCESS)
FATAL_ERROR("Can't insert firewall redirects");
FATAL_ERROR("Can't insert IPv6 firewall redirects. Considered uncommenting redir6 commands?");
#endif

}
Expand Down

0 comments on commit fef7edc

Please sign in to comment.