From d7d8b4512b01f62a4bb1f3a57d82ab5d02ce806c Mon Sep 17 00:00:00 2001 From: Luigi <27034386+luigigubello@users.noreply.github.com> Date: Mon, 7 Sep 2020 17:14:47 +0200 Subject: [PATCH] Adding default port range (#117) --- 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