summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 859b1bd)
raw | patch | inline | side by side (parent: 859b1bd)
author | Florian Forster <octo@collectd.org> | |
Fri, 5 Oct 2012 08:27:27 +0000 (10:27 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 5 Oct 2012 08:27:27 +0000 (10:27 +0200) |
src/ntpd.c | patch | blob | history |
diff --git a/src/ntpd.c b/src/ntpd.c
index d1ce621e8be8c1ce637f041526d4d0a74768d006..184c5c175b9131a74268a69b65001fafb848f217 100644 (file)
--- a/src/ntpd.c
+++ b/src/ntpd.c
@@ -785,7 +785,7 @@ static uint32_t ntpd_get_refclock_id (struct info_peer_summary const *peer_info)
}
static int ntpd_get_name_from_address (char *buffer, size_t buffer_size,
- struct info_peer_summary *peer_info, _Bool do_reverse_lookup)
+ struct info_peer_summary const *peer_info, _Bool do_reverse_lookup)
{
struct sockaddr_storage sa;
socklen_t sa_len;
} /* ntpd_get_name_from_address */
static int ntpd_get_name_refclock (char *buffer, size_t buffer_size,
- struct info_peer_summary *peer_info)
+ struct info_peer_summary const *peer_info)
{
uint32_t refclock_id = ntpd_get_refclock_id (peer_info);
uint32_t unit_id = ntohl (peer_info->srcadr) & 0x00FF;
} /* int ntpd_get_name_refclock */
static int ntpd_get_name (char *buffer, size_t buffer_size,
- struct info_peer_summary *peer_info)
+ struct info_peer_summary const *peer_info)
{
uint32_t addr = ntohl (peer_info->srcadr);