Make link delay more realistic
authorRichard Whitehouse <github@richardwhiuk.com>
Tue, 17 May 2011 19:49:04 +0000 (20:49 +0100)
committerRichard Whitehouse <github@richardwhiuk.com>
Tue, 17 May 2011 19:49:04 +0000 (20:49 +0100)
src/helper/link-layer-helper.cc

index 5f3f816e34a9cb59a0c81a84132f6e93a81b110a..419e7abc2885d5315b75ec02fe52aee2190c3551 100644 (file)
@@ -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