projects
/
ns-moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52021fe
)
Raise default data rate for Ethernet to 1 Gbps
author
Richard Whitehouse
<github@richardwhiuk.com>
Fri, 15 Apr 2011 22:45:08 +0000
(23:45 +0100)
committer
Richard Whitehouse
<github@richardwhiuk.com>
Fri, 15 Apr 2011 22:45:08 +0000
(23:45 +0100)
src/helper/moose-helper.cc
patch
|
blob
|
history
diff --git
a/src/helper/moose-helper.cc
b/src/helper/moose-helper.cc
index 499da037baa25b66d34b81498e4628a10e43a329..9d30baa850ba8c08c79ee2d501a5cb4c546c766f 100644
(file)
--- a/
src/helper/moose-helper.cc
+++ b/
src/helper/moose-helper.cc
@@
-36,7
+36,7
@@
MooseHelper::MooseHelper(){
// Medium
- csma.SetChannelAttribute ("DataRate", DataRateValue (
5000000
));
+ csma.SetChannelAttribute ("DataRate", DataRateValue (
DataRate("1Gbps")
));
csma.SetChannelAttribute ("Delay", TimeValue (MilliSeconds (2)));
// Internet