summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup.cpp b/setup.cpp
index 3fda77c..8f759a3 100644
--- a/setup.cpp
+++ b/setup.cpp
@@ -175,6 +175,8 @@ namespace {
struct in6_addr buf;
struct in_addr buf4;
+ esyslog( "INFO: validating live server ip '%s'", ip.c_str());
+ cerr << "INFO: validating server ip '" << ip << "'" << endl;
bool valid = inet_aton(ip.c_str(), &buf4) || inet_pton(AF_INET6, ip.c_str(), &buf);
if (!valid) {