Merge "Bug-590: Packet loss on first time ping test"
authorGiovanni Meo <gmeo@cisco.com>
Wed, 7 May 2014 23:21:44 +0000 (23:21 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 7 May 2014 23:21:44 +0000 (23:21 +0000)
opendaylight/samples/simpleforwarding/src/main/java/org/opendaylight/controller/samples/simpleforwarding/internal/SimpleForwardingImpl.java

index d695738..a48d331 100644 (file)
@@ -152,7 +152,7 @@ public class SimpleForwardingImpl implements IfNewHostNotify,
                     }
                 }
             } catch (IllegalStateException e) {
-                log.debug("IllegalStateException Received by PendingPacketsAgerTimerHandler from: {}",
+                log.warn("IllegalStateException Received by PendingPacketsAgerTimerHandler from: {}",
                         e.getMessage());
             }
         }
@@ -186,7 +186,6 @@ public class SimpleForwardingImpl implements IfNewHostNotify,
      * hope that the destination is known by hostTracker.
      */
     private void sendPendingPacket(InetAddress dIP) {
-        pendingPacketDestinations.get(dIP);
         PendingPacketData pendingPacketData = pendingPacketDestinations.get(dIP);
         if (pendingPacketData != null) {
             handlePuntedIPPacket(pendingPacketData.pkt, pendingPacketData.incomingNodeConnector, false);