We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea0eb9e commit c90fcbdCopy full SHA for c90fcbd
pdns/rcpgenerator.cc
@@ -135,9 +135,9 @@ void RecordTextReader::xfrIP6(std::string &val)
135
skipSpaces();
136
137
size_t len;
138
- // lookup end of value
+ // lookup end of value - think of ::ffff encoding too, has dots in it!
139
for(len=0;
140
- d_pos+len < d_string.length() && (isxdigit(d_string.at(d_pos+len)) || d_string.at(d_pos+len) == ':');
+ d_pos+len < d_string.length() && (isxdigit(d_string.at(d_pos+len)) || d_string.at(d_pos+len) == ':' || d_string.at(d_pos+len)=='.');
141
len++);
142
143
if(!len)
0 commit comments