     xSemaphoreGive( ESP32DMX.lxDataLock );
     
     if ( multicast ) {
-      interface->sendDMX(iUDP, DMXWiFiConfig.inputAddress(), WiFi.localIP());
+      interface->sendDMX(iUDP, DMXWiFiConfig.inputAddress(), local_ip_address);
     } else {
       interface->sendDMX(iUDP, DMXWiFiConfig.inputAddress(), INADDR_NONE);
     }

WiFiUDP aUDP;
WiFiUDP sUDP;

// direction output from network/input to network
uint8_t dmx_direction = 0;



  dmx_direction = DMXWiFiConfig.inputToNetworkMode();
  rdm_enabled   = DMXWiFiConfig.rdmMode();

  if ( DMXWiFiConfig.APMode() ) {            // WiFi startup
    Serial.print("AP_MODE ");
