ircd: Don't refer to the IP address as a "netmask" in error messages
This commit is contained in:
parent
1d9925cfb3
commit
532f83a70a
1 changed files with 3 additions and 3 deletions
|
@ -239,7 +239,7 @@ conf_set_serverinfo_vhost(void *data)
|
||||||
{
|
{
|
||||||
if(rb_inet_pton(AF_INET, (char *) data, &ServerInfo.ip.sin_addr) <= 0)
|
if(rb_inet_pton(AF_INET, (char *) data, &ServerInfo.ip.sin_addr) <= 0)
|
||||||
{
|
{
|
||||||
conf_report_error("Invalid netmask for server IPv4 vhost (%s)", (char *) data);
|
conf_report_error("Invalid IPv4 address for server vhost (%s)", (char *) data);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ServerInfo.ip.sin_family = AF_INET;
|
ServerInfo.ip.sin_family = AF_INET;
|
||||||
|
@ -252,7 +252,7 @@ conf_set_serverinfo_vhost6(void *data)
|
||||||
#ifdef RB_IPV6
|
#ifdef RB_IPV6
|
||||||
if(rb_inet_pton(AF_INET6, (char *) data, &ServerInfo.ip6.sin6_addr) <= 0)
|
if(rb_inet_pton(AF_INET6, (char *) data, &ServerInfo.ip6.sin6_addr) <= 0)
|
||||||
{
|
{
|
||||||
conf_report_error("Invalid netmask for server IPv6 vhost (%s)", (char *) data);
|
conf_report_error("Invalid IPv6 address for server vhost (%s)", (char *) data);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1325,7 +1325,7 @@ conf_set_connect_vhost(void *data)
|
||||||
{
|
{
|
||||||
if(rb_inet_pton_sock(data, (struct sockaddr *)&yy_server->my_ipnum) <= 0)
|
if(rb_inet_pton_sock(data, (struct sockaddr *)&yy_server->my_ipnum) <= 0)
|
||||||
{
|
{
|
||||||
conf_report_error("Invalid netmask for server vhost (%s)",
|
conf_report_error("Invalid IP address for server connect vhost (%s)",
|
||||||
(char *) data);
|
(char *) data);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue