From e03bbb4f2e1d930b0bcc315e5f5ce587ab6605c8 Mon Sep 17 00:00:00 2001
From: PeterKietzmann <peter.kietzmann@haw-hamburg.de>
Date: Tue, 5 Feb 2019 12:17:50 +0100
Subject: [PATCH] tests/gnrc_tcp_client: don't set PORT=tap1 as default

---
 tests/gnrc_tcp_client/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/gnrc_tcp_client/Makefile b/tests/gnrc_tcp_client/Makefile
index 4521cf4ebc..00ed0218e3 100644
--- a/tests/gnrc_tcp_client/Makefile
+++ b/tests/gnrc_tcp_client/Makefile
@@ -2,7 +2,10 @@ include ../Makefile.tests_common
 
 # If no BOARD is found in the environment, use this default:
 BOARD ?= native
-PORT ?= tap1
+
+ifeq (native,$(BOARD))
+  PORT ?= tap1
+endif
 
 TCP_TARGET_ADDR ?= fe80::affe%5
 TCP_TARGET_PORT ?= 80
-- 
GitLab