xiaoxiang781216 commented on a change in pull request #594:
URL: 
https://github.com/apache/incubator-nuttx-apps/pull/594#discussion_r578944700



##########
File path: netutils/ntpclient/ntpclient.c
##########
@@ -625,14 +699,15 @@ static void ntpc_settime(int64_t offset, FAR struct 
timespec *start_realtime,
  *
  ****************************************************************************/
 
-static bool ntp_address_in_kod_list(FAR const union ntp_addr_u *server_addr)
+static bool ntp_address_in_kod_list(FAR const struct sockaddr *server_addr)

Review comment:
       sockaddr_cmp is not standard too. If we follow your direction, 
ntpc_daemon_s, ntp_addr_u, ntp_sample_s, ntp_servers_s and ntp_kod_exclude_s 
should be removed, all function should only accept the primitve type or the 
standard defined struct.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to