From 3ea403869809026e532d8000a021caf002979546 Mon Sep 17 00:00:00 2001 From: John Abraham Date: Wed, 11 May 2011 12:14:49 -0700 Subject: [PATCH] Bug 1129 nsc library path setting is not robust --- examples/tcp/tcp-nsc-zoo.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/tcp/tcp-nsc-zoo.cc b/examples/tcp/tcp-nsc-zoo.cc index b9d4cb35a..ed912e22c 100644 --- a/examples/tcp/tcp-nsc-zoo.cc +++ b/examples/tcp/tcp-nsc-zoo.cc @@ -86,13 +86,13 @@ int main(int argc, char *argv[]) { // the next statement doesn't change anything for the nodes 0, 1, and 2; since they // already have a stack assigned. - internetStack.SetTcp ("ns3::NscTcpL4Protocol","Library",StringValue("liblinux2.6.18.so")); - // this switches node 3 to NSCs Linux 2.6.18 stack. + internetStack.SetTcp ("ns3::NscTcpL4Protocol","Library",StringValue("liblinux2.6.26.so")); + // this switches node 3 to NSCs Linux 2.6.26 stack. internetStack.Install (n.Get(3)); // and then agains disables sack/timestamps/wscale on node 3. - Config::Set ("/NodeList/3/$ns3::Ns3NscStack/net.ipv4.tcp_sack", StringValue ("0")); - Config::Set ("/NodeList/3/$ns3::Ns3NscStack/net.ipv4.tcp_timestamps", StringValue ("0")); - Config::Set ("/NodeList/3/$ns3::Ns3NscStack/net.ipv4.tcp_window_scaling", StringValue ("0")); + Config::Set ("/NodeList/3/$ns3::Ns3NscStack/net.ipv4.tcp_sack", StringValue ("0")); + Config::Set ("/NodeList/3/$ns3::Ns3NscStack/net.ipv4.tcp_timestamps", StringValue ("0")); + Config::Set ("/NodeList/3/$ns3::Ns3NscStack/net.ipv4.tcp_window_scaling", StringValue ("0")); } // the freebsd stack is not yet built by default, so its commented out for now. // internetStack.SetNscStack ("libfreebsd5.so");