src/devices/point-to-point/point-to-point-channel.cc
changeset 2965 4b28e9740e3b
parent 2834 1aab57845b07
child 2989 b7eb3929096c
--- a/src/devices/point-to-point/point-to-point-channel.cc	Mon Apr 14 16:19:17 2008 -0700
+++ b/src/devices/point-to-point/point-to-point-channel.cc	Thu Apr 17 13:42:25 2008 -0700
@@ -37,11 +37,11 @@
     .SetParent<Channel> ()
     .AddConstructor<PointToPointChannel> ()
     .AddAttribute ("BitRate", "The maximum bitrate of the channel",
-                   DataRate (0xffffffff),
+                   DataRateValue (DataRate (0xffffffff)),
                    MakeDataRateAccessor (&PointToPointChannel::m_bps),
                    MakeDataRateChecker ())
     .AddAttribute ("Delay", "Transmission delay through the channel",
-                   Seconds (0),
+                   TimeValue (Seconds (0)),
                    MakeTimeAccessor (&PointToPointChannel::m_delay),
                    MakeTimeChecker ())
     ;