Skip to content

Commit d7d8b45

Browse files
authored
Adding default port range (#117)
1 parent aff9c6b commit d7d8b45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NTPClient.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class NTPClient {
4747
/**
4848
* Set random local port
4949
*/
50-
void setRandomPort(unsigned int minValue, unsigned int maxValue);
50+
void setRandomPort(unsigned int minValue = 49152, unsigned int maxValue = 65535);
5151

5252
/**
5353
* Starts the underlying UDP client with the default local port

0 commit comments

Comments
 (0)