mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-01 06:25:34 +00:00
[2270] DHCPv4 parser fixes. Tests now pass.
This commit is contained in:
@@ -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));
|
||||
|
||||
Pool4Ptr pool(new Pool4(min, max));
|
||||
|
Reference in New Issue
Block a user