From 8cd61f2e40a4ed7b033a9e0cc3dc63c8f5fc86a4 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Tue, 12 Jun 2007 11:04:00 +0200 Subject: [PATCH] fix bug 29 --HG-- rename : src/node/drop-tail.cc => src/node/drop-tail-queue.cc rename : src/node/drop-tail.h => src/node/drop-tail-queue.h --- SConstruct | 4 ++-- examples/simple-p2p.cc | 6 +----- src/node/{drop-tail.cc => drop-tail-queue.cc} | 2 +- src/node/{drop-tail.h => drop-tail-queue.h} | 0 4 files changed, 4 insertions(+), 8 deletions(-) rename src/node/{drop-tail.cc => drop-tail-queue.cc} (98%) rename src/node/{drop-tail.h => drop-tail-queue.h} (100%) diff --git a/SConstruct b/SConstruct index 97d82256a..210ebca0b 100644 --- a/SConstruct +++ b/SConstruct @@ -234,7 +234,7 @@ node.add_sources ([ 'llc-snap-header.cc', 'ipv4-route.cc', 'queue.cc', - 'drop-tail.cc', + 'drop-tail-queue.cc', 'channel.cc', 'node-list.cc', 'socket.cc', @@ -250,7 +250,7 @@ node.add_inst_headers ([ 'mac-address.h', 'ipv4-route.h', 'queue.h', - 'drop-tail.h', + 'drop-tail-queue.h', 'llc-snap-header.h', 'channel.h', 'node-list.h', diff --git a/examples/simple-p2p.cc b/examples/simple-p2p.cc index 9a50f4b09..9ad235b5e 100644 --- a/examples/simple-p2p.cc +++ b/examples/simple-p2p.cc @@ -42,10 +42,10 @@ #include #include -#include "ns3/debug.h" #include "ns3/command-line.h" #include "ns3/default-value.h" #include "ns3/ptr.h" +#include "ns3/random-variable.h" #include "ns3/simulator.h" #include "ns3/nstime.h" @@ -61,12 +61,8 @@ #include "ns3/ipv4.h" #include "ns3/socket.h" #include "ns3/ipv4-route.h" -#include "ns3/drop-tail.h" -#include "ns3/node-list.h" -#include "ns3/trace-root.h" #include "ns3/p2p-topology.h" #include "ns3/onoff-application.h" -#include "ns3/random-variable.h" using namespace ns3; diff --git a/src/node/drop-tail.cc b/src/node/drop-tail-queue.cc similarity index 98% rename from src/node/drop-tail.cc rename to src/node/drop-tail-queue.cc index ed6606370..74c8fde17 100644 --- a/src/node/drop-tail.cc +++ b/src/node/drop-tail-queue.cc @@ -18,7 +18,7 @@ */ #include "ns3/debug.h" -#include "drop-tail.h" +#include "drop-tail-queue.h" NS_DEBUG_COMPONENT_DEFINE ("DropTailQueue"); diff --git a/src/node/drop-tail.h b/src/node/drop-tail-queue.h similarity index 100% rename from src/node/drop-tail.h rename to src/node/drop-tail-queue.h