From 59066254d2c7f1210aeaf15ace14c57a323eab02 Mon Sep 17 00:00:00 2001 From: Luigi Gubello Date: Sat, 5 Sep 2020 15:48:19 +0200 Subject: [PATCH] Adding default port range --- NTPClient.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NTPClient.h b/NTPClient.h index 7defb1c..b518c28 100755 --- a/NTPClient.h +++ b/NTPClient.h @@ -47,7 +47,7 @@ class NTPClient { /** * Set random local port */ - void setRandomPort(unsigned int minValue, unsigned int maxValue); + void setRandomPort(unsigned int minValue = 49152, unsigned int maxValue = 65535); /** * Starts the underlying UDP client with the default local port