From b4eb158826b1592ee628a8c6d7d4542da8b29d5e Mon Sep 17 00:00:00 2001
From: Eric Blankenhorn <eric@wolfssl.com>
Date: Tue, 24 Oct 2023 11:43:23 -0500
Subject: [PATCH] Fix zephyr ports

---
 zephyr/samples/client.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/zephyr/samples/client.c b/zephyr/samples/client.c
index 84e5a67eb..58ef909a3 100644
--- a/zephyr/samples/client.c
+++ b/zephyr/samples/client.c
@@ -33,14 +33,12 @@ int main(void)
 
     mqttCtx.test_mode = 1;
 
-    if (getenv("WOLFMQTT_NO_EXTERNAL_BROKER_TESTS")) {
-        /* Set port as configured in scripts/broker_test/mosquitto.conf */
+    /* Set port as configured in scripts/broker_test/mosquitto.conf */
 #if defined(WOLFMQTT_DEFAULT_TLS) && (WOLFMQTT_DEFAULT_TLS == 1)
-        mqttCtx.port = 18883;
+    mqttCtx.port = 18883;
 #else
-        mqttCtx.port = 11883;
+    mqttCtx.port = 11883;
 #endif
-    }
 
     rc = mqttclient_test(&mqttCtx);