Commit ddb1b224 authored by Stephen Morris's avatar Stephen Morris
Browse files

[trac998] Fix comment.

parent 0b838ba0
......@@ -580,13 +580,12 @@ TEST(IPCheck, MixedMode) {
// Check where the bit pattern of an IPv4 address matches that of an IPv6
// one. 2001:db8.
// one.
IPCheck<GeneralAddress> acl5("2001:db8::/32");
GeneralAddress test5(0x20010db8);
// ... and where the reverse is true. (2001:db8 corresponds to
// (To get the bytes for the IPv6 address into a GeneralAddress structure,
IPCheck<GeneralAddress> acl6("");
GeneralAddress test6(vector<uint8_t>(V6ADDR_1, V6ADDR_1 + IPV6_SIZE));
Supports Markdown
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