summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/socket.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index 38178cab8..2465506e9 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -464,7 +464,10 @@ int InspIRCd::BindPorts(bool bail, int &ports_found, FailedPortList &failed_port
Config->ConfValue(Config->config_data, "bind", "port", count, configToken, MAXBUF);
Config->ConfValue(Config->config_data, "bind", "address", count, Addr, MAXBUF);
Config->ConfValue(Config->config_data, "bind", "type", count, Type, MAXBUF);
-
+
+ if (strncmp(Addr, "::ffff:", 7) == 0)
+ this->Log(DEFAULT, "Using 4in6 (::ffff:) isn't recommended. You should bind IPv4 addresses directly instead.");
+
if ((!*Type) || (!strcmp(Type,"clients")))
{
irc::portparser portrange(configToken, false);