bug 1432: Align Ipv6AddressHelper API with Ipv4AddressHelper API

This commit is contained in:
Tom Henderson
2012-05-20 15:19:52 -07:00
parent 6573647594
commit 1b584e2e27
23 changed files with 540 additions and 84 deletions

View File

@@ -91,7 +91,7 @@ main (int argc, char *argv[])
else
{
Ipv6AddressHelper ipv6;
ipv6.NewNetwork ("2001:0000:f00d:cafe::", 64);
ipv6.SetBase ("2001:0000:f00d:cafe::", Ipv6Prefix (64));
Ipv6InterfaceContainer i6 = ipv6.Assign (d);
serverAddress = Address(i6.GetAddress (1,1));
}