Merge "Bug-590: Packet loss on first time ping test"
[controller.git] / opendaylight / samples / simpleforwarding / src / main / java / org / opendaylight / controller / samples / simpleforwarding / internal / SimpleForwardingImpl.java
index d6957385bd8278d566ba31fc0cf795539d1161c8..a48d3317738fff283cf37d6eecbbb4cf96781ab4 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);