diff -r cf6b2a864fb6 -r 5d8dfd7c6609 examples/ipv6/loose-routing-ipv6.cc --- a/examples/ipv6/loose-routing-ipv6.cc Wed May 23 12:03:11 2012 +0200 +++ b/examples/ipv6/loose-routing-ipv6.cc Sun May 20 15:19:52 2012 -0700 @@ -104,30 +104,30 @@ NS_LOG_INFO ("Create networks and assign IPv6 Addresses."); Ipv6AddressHelper ipv6; - ipv6.NewNetwork (Ipv6Address ("2001:1::"), 64); + ipv6.SetBase (Ipv6Address ("2001:1::"), Ipv6Prefix (64)); Ipv6InterfaceContainer i1 = ipv6.Assign (d1); i1.SetRouter (1, true); - ipv6.NewNetwork (Ipv6Address ("2001:2::"), 64); + ipv6.SetBase (Ipv6Address ("2001:2::"), Ipv6Prefix (64)); Ipv6InterfaceContainer i2 = ipv6.Assign (d2); i2.SetRouter (1, true); - ipv6.NewNetwork (Ipv6Address ("2001:3::"), 64); + ipv6.SetBase (Ipv6Address ("2001:3::"), Ipv6Prefix (64)); Ipv6InterfaceContainer i3 = ipv6.Assign (d3); i3.SetRouter (0, true); i3.SetRouter (1, true); - ipv6.NewNetwork (Ipv6Address ("2001:4::"), 64); + ipv6.SetBase (Ipv6Address ("2001:4::"), Ipv6Prefix (64)); Ipv6InterfaceContainer i4 = ipv6.Assign (d4); i4.SetRouter (0, true); i4.SetRouter (1, true); - ipv6.NewNetwork (Ipv6Address ("2001:5::"), 64); + ipv6.SetBase (Ipv6Address ("2001:5::"), Ipv6Prefix (64)); Ipv6InterfaceContainer i5 = ipv6.Assign (d5); i5.SetRouter (0, true); i5.SetRouter (1, true); - ipv6.NewNetwork (Ipv6Address ("2001:6::"), 64); + ipv6.SetBase (Ipv6Address ("2001:6::"), Ipv6Prefix (64)); Ipv6InterfaceContainer i6 = ipv6.Assign (d6); i6.SetRouter (0, true); i6.SetRouter (1, true);