mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 19:25:06 -05:00
conf: return port numbers as int
This commit is contained in:
4
conf.c
4
conf.c
@@ -1212,7 +1212,7 @@ CNF_AddBroadcasts(void)
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
unsigned short
|
||||
int
|
||||
CNF_GetNTPPort(void)
|
||||
{
|
||||
return ntp_port;
|
||||
@@ -1220,7 +1220,7 @@ CNF_GetNTPPort(void)
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
unsigned short
|
||||
int
|
||||
CNF_GetAcquisitionPort(void)
|
||||
{
|
||||
return acquisition_port;
|
||||
|
||||
Reference in New Issue
Block a user