--- a/src/nix-vector-routing/model/ipv4-nix-vector-routing.cc Thu Jul 19 10:07:08 2012 -0700
+++ b/src/nix-vector-routing/model/ipv4-nix-vector-routing.cc Thu Jul 19 13:01:30 2012 -0700
@@ -136,12 +136,11 @@
}
// if source == dest, then we have a special case
- // because the node is sending to itself. have to
- // build the nix vector a little differently
+ // Do not process packets to self (see bug 1308)
if (source == destNode)
{
- BuildNixVectorLocal (nixVector);
- return nixVector;
+ NS_LOG_DEBUG ("Do not processs packets to self");
+ return 0;
}
else
{