src/applications/packet-sink/packet-sink.cc
changeset 2965 4b28e9740e3b
parent 2728 153993e8be6f
child 3097 1b1661bbfa33
--- a/src/applications/packet-sink/packet-sink.cc	Mon Apr 14 16:19:17 2008 -0700
+++ b/src/applications/packet-sink/packet-sink.cc	Thu Apr 17 13:42:25 2008 -0700
@@ -43,11 +43,11 @@
     .SetParent<Application> ()
     .AddConstructor<PacketSink> ()
     .AddAttribute ("Local", "The Address on which to Bind the rx socket.",
-                   Address (),
+                   AddressValue (),
                    MakeAddressAccessor (&PacketSink::m_local),
                    MakeAddressChecker ())
     .AddAttribute ("Protocol", "The type id of the protocol to use for the rx socket.",
-                   Udp::GetTypeId (),
+                   TypeIdValue (Udp::GetTypeId ()),
                    MakeTypeIdAccessor (&PacketSink::m_tid),
                    MakeTypeIdChecker ())
     .AddTraceSource ("Rx", "A packet has been received",