--- a/examples/ipv6/radvd.cc Wed May 23 12:03:11 2012 +0200
+++ b/examples/ipv6/radvd.cc Sun May 20 15:19:52 2012 -0700
@@ -84,7 +84,7 @@
Ipv6AddressHelper ipv6;
/* first subnet */
- ipv6.NewNetwork (Ipv6Address ("2001:1::"), 64);
+ ipv6.SetBase (Ipv6Address ("2001:1::"), Ipv6Prefix (64));
NetDeviceContainer tmp;
tmp.Add (d1.Get (0)); /* n0 */
Ipv6InterfaceContainer iic1 = ipv6.AssignWithoutAddress (tmp); /* n0 interface */
@@ -96,7 +96,7 @@
iic1.Add (iicr1);
/* second subnet R - n1 */
- ipv6.NewNetwork (Ipv6Address ("2001:2::"), 64);
+ ipv6.SetBase (Ipv6Address ("2001:2::"), Ipv6Prefix (64));
NetDeviceContainer tmp3;
tmp3.Add (d2.Get (0)); /* R */
Ipv6InterfaceContainer iicr2 = ipv6.Assign (tmp3); /* R interface */