Using - as IP part seperator
This commit is contained in:
parent
cffc1e456b
commit
2c31aa7370
@ -48,7 +48,7 @@ void WebDNSHandler::handle_message(const std::shared_ptr<DNSServerBinding>& bind
|
||||
size_t index = 0;
|
||||
size_t aindex = 0;
|
||||
do {
|
||||
auto found = dn.find('.', index);
|
||||
auto found = dn.find('-', index);
|
||||
auto length = index == -1 ? dn.length() - index : found - index;
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user