ntp: define NTP port for configuration code

This commit is contained in:
Miroslav Lichvar
2017-07-12 18:12:32 +02:00
parent 7bd1c02781
commit 9983185d6d
2 changed files with 5 additions and 2 deletions

3
ntp.h
View File

@@ -38,6 +38,9 @@ typedef struct {
typedef uint32_t NTP_int32;
/* The UDP port number used by NTP */
#define NTP_PORT 123
/* The NTP protocol version that we support */
#define NTP_VERSION 4