From 0e4a54ae6d1ccc31e6e28dceda883f6c166758da Mon Sep 17 00:00:00 2001 From: Richard Whitehouse Date: Tue, 17 May 2011 20:49:04 +0100 Subject: [PATCH] Make link delay more realistic --- src/helper/link-layer-helper.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1