From 8cb399d672db194662c578f2c1ce2e7dc577610b Mon Sep 17 00:00:00 2001 From: Pavel Boyko Date: Wed, 18 Nov 2009 11:28:38 +0300 Subject: [PATCH] [aodv] RoutingTable::Purge bugfix --- src/routing/manet/aodv/aodv-rtable.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/routing/manet/aodv/aodv-rtable.cc b/src/routing/manet/aodv/aodv-rtable.cc index dbe3f5ea5..2393a7c76 100644 --- a/src/routing/manet/aodv/aodv-rtable.cc +++ b/src/routing/manet/aodv/aodv-rtable.cc @@ -309,7 +309,10 @@ RoutingTable::Purge () else ++i; } - ++i; + else + { + ++i; + } } }