From: Richard Whitehouse Date: Tue, 17 May 2011 19:49:04 +0000 (+0100) Subject: Make link delay more realistic X-Git-Url: https://git.richardwhiuk.com/?a=commitdiff_plain;h=0e4a54ae6d1ccc31e6e28dceda883f6c166758da;p=ns-moose.git Make link delay more realistic --- diff --git a/src/helper/link-layer-helper.cc b/src/helper/link-layer-helper.cc index 5f3f816..419e7ab 100644 --- a/src/helper/link-layer-helper.cc +++ b/src/helper/link-layer-helper.cc @@ -37,7 +37,7 @@ LinkLayerHelper::LinkLayerHelper(){ // Medium csma.SetChannelAttribute ("DataRate", DataRateValue (DataRate("1Gbps"))); - csma.SetChannelAttribute ("Delay", TimeValue (MilliSeconds (2))); + csma.SetChannelAttribute ("Delay", TimeValue (NanoSeconds (20))); // Internet