From 5ad93dadbfb291dd85ec177c6e780a506660e12a Mon Sep 17 00:00:00 2001 From: Bjoern Sikora Date: Thu, 15 Oct 2009 16:17:13 +0200 Subject: [PATCH] To fully support IPv6 we need to be able to parse an IPv6 address out of the received curl data. --- src/ip_addr_helper.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/ip_addr_helper.cpp b/src/ip_addr_helper.cpp index fffb4a0..3f9365f 100644 --- a/src/ip_addr_helper.cpp +++ b/src/ip_addr_helper.cpp @@ -426,6 +426,8 @@ string IPAddrHelper::webcheck_ip() // Try to parse a IPv4 address out of the received data. ip_addr = parse_ipv4(curl_writedata_buff); + // TODO: Parsing of IPv6 address out of received curl data via webcheck IP. + if ( !ip_addr.empty() ) { // Got a IPv4 address out of the received data. -- 1.7.1