From eb3d502a492733b736711489eca46d564682870e Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Tue, 8 Jul 2008 14:40:01 +0100 Subject: [PATCH] Adapt to evil API breakage --- examples/csma-bridge.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/csma-bridge.cc b/examples/csma-bridge.cc index 69077ac0a..7b90919f5 100644 --- a/examples/csma-bridge.cc +++ b/examples/csma-bridge.cc @@ -77,8 +77,8 @@ main (int argc, char *argv[]) NS_LOG_INFO ("Build Topology"); CsmaHelper csma; - csma.SetChannelParameter ("DataRate", DataRateValue (5000000)); - csma.SetChannelParameter ("Delay", TimeValue (MilliSeconds (2))); + csma.SetChannelAttribute ("DataRate", DataRateValue (5000000)); + csma.SetChannelAttribute ("Delay", TimeValue (MilliSeconds (2))); // Create the csma links, from each terminal to the switch