aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/dcc/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/dcc/utils.cpp')
-rw-r--r--src/modules/dcc/utils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/dcc/utils.cpp b/src/modules/dcc/utils.cpp
index 9f8e10735..f6e0bf721 100644
--- a/src/modules/dcc/utils.cpp
+++ b/src/modules/dcc/utils.cpp
@@ -47,7 +47,7 @@ bool dcc_module_get_listen_ip_address(KviCommand *c,KviConsole * pConsole,QStrin
{
if(KviQString::equalCI(KVI_OPTION_STRING(KviOption_stringDccListenDefaultInterface),"0.0.0.0"))
{
- // Try to find the first available IpV4 interface
+ // Try to find the first available IPv4 interface
if(!kvi_getLocalHostAddress(szListenIp))
{
if(c)c->warning(__tr2qs_ctx("Can't retrieve a suitable local IPV4 address","dcc"),
@@ -87,7 +87,7 @@ bool dcc_module_get_listen_ip_address(KviCommand *c,KviConsole * pConsole,QStrin
if(pConsole->isConnected())
{
//#warning "The IPV6 choice is not OK here.... and maybe allow to bind to specified ports"
- pConsole->socket()->getLocalHostIp(szListenIp,pConsole->isIpV6Connection());
+ pConsole->socket()->getLocalHostIp(szListenIp,pConsole->isIPv6Connection());
} else {
szListenIp = "0.0.0.0"; // huh ? :)
}
@@ -115,7 +115,7 @@ bool dcc_kvs_get_listen_ip_address(KviKvsModuleCommandCall *c,KviConsole * pCons
{
if(KviQString::equalCI(KVI_OPTION_STRING(KviOption_stringDccListenDefaultInterface),"0.0.0.0"))
{
- // Try to find the first available IpV4 interface
+ // Try to find the first available IPv4 interface
if(!kvi_getLocalHostAddress(szListenIp))
{
if(c)c->warning(__tr2qs_ctx("Can't retrieve a suitable local IPV4 address","dcc"),
@@ -155,7 +155,7 @@ bool dcc_kvs_get_listen_ip_address(KviKvsModuleCommandCall *c,KviConsole * pCons
if(pConsole->isConnected())
{
//#warning "The IPV6 choice is not OK here.... and maybe allow to bind to specified ports"
- pConsole->socket()->getLocalHostIp(szListenIp,pConsole->isIpV6Connection());
+ pConsole->socket()->getLocalHostIp(szListenIp,pConsole->isIPv6Connection());
} else {
szListenIp = "0.0.0.0"; // huh ? :)
}