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

[5314] Two minor corrections.

parent 3d9ba9b0
......@@ -56,7 +56,7 @@ public:
///
/// The const pointer is returned by this method to prevent a caller from
/// modifying the subnet configuration. Modifications to subnet configuration
/// is dangerous and must be done carefully. The subnets' configruation is
/// is dangerous and must be done carefully. The subnets' configuration is
/// held in the multi index container and any modifications to the subnet
/// id or subnet prefix must trigger re-indexing of multi index container.
/// There is no possibility to enforce this when the non-const pointer is
......
......@@ -51,7 +51,7 @@ public:
test_subnets4_.push_back(subnet);
}
// Create IPv6 subnets.
IOAddress prefix("2001:db8:1::0");
IOAddress prefix("2001:db8:1::");
for (int i = 0; i < TEST_SUBNETS_NUM; ++i) {
// This is a base prefix. All other prefixes will be created by
// modifying this one.
......
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