changeset 1207:7575fa5eac1c

UnidirectionalRawPacketWorker minor
author Devel 2
date Mon, 22 Jun 2020 14:17:40 +0200
parents 813c5f012b4f
children d34d903285ed
files stress-tester/src/main/java/com/passus/st/emitter/raw/UnidirectionalRawPacketWorker.java
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/emitter/raw/UnidirectionalRawPacketWorker.java	Mon Jun 22 14:13:57 2020 +0200
+++ b/stress-tester/src/main/java/com/passus/st/emitter/raw/UnidirectionalRawPacketWorker.java	Mon Jun 22 14:17:40 2020 +0200
@@ -202,14 +202,15 @@
 
     protected void doConnect(SessionInfo sessionInfo, EmitterHandler handler) {
         SessionMapper.ConnectionParams connParams = getConnectionParams(sessionInfo, handler, sessionMapper, collectMetrics, metric, LOGGER);
-        if (connParams == null) {
-            return;
-        }
 
         if (LOGGER.isDebugEnabled()) {
             LOGGER.debug("Registering UDP session '{}'. Mapped connection parameters '{}'.", sessionInfo, connParams);
         }
 
+        if (connParams == null) {
+            return;
+        }
+
         UnidirectionalRawPacketChannelContext<E> channelContext = null;
 
         String device;