diff --git a/examples/tutorial/first.cc b/examples/tutorial/first.cc index 36a05b403..f01f88b87 100644 --- a/examples/tutorial/first.cc +++ b/examples/tutorial/first.cc @@ -56,7 +56,7 @@ main (int argc, char *argv[]) UdpEchoClientHelper echoClient (interfaces.GetAddress (1), 9); echoClient.SetAttribute ("MaxPackets", UintegerValue (1)); - echoClient.SetAttribute ("Interval", TimeValue (Seconds (1.))); + echoClient.SetAttribute ("Interval", TimeValue (Seconds (1.0))); echoClient.SetAttribute ("PacketSize", UintegerValue (1024)); ApplicationContainer clientApps = echoClient.Install (nodes.Get (0));