From 50b069dd47ad4edb9c248f2d8169d3b97441ce84 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 5b4b517..328562c 100755 --- a/NTPClient.h +++ b/NTPClient.h @@ -51,7 +51,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