Commit d2c2edbf authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[2270] DHCPv6 pool parser fix.

parent 552657ff
......@@ -399,7 +399,7 @@ public:
pos = txt.find("-");
if (pos != string::npos) {
// using min-max notation
IOAddress min(txt.substr(0,pos - 1));
IOAddress min(txt.substr(0,pos));
IOAddress max(txt.substr(pos + 1));
Pool6Ptr pool(new Pool6(Pool6::TYPE_IA, min, max));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment