dns_found_callback should take const IP addr

This commit is contained in:
Dirk Ziegelmeier
2015-09-30 22:07:03 +02:00
committed by sg
parent 3f4d75c8d6
commit ae7eeda88a
2 changed files with 2 additions and 2 deletions

View File

@@ -86,7 +86,7 @@ struct local_hostlist_entry {
* or NULL if the name could not be found (or on any other error).
* @param callback_arg a user-specified callback argument passed to dns_gethostbyname
*/
typedef void (*dns_found_callback)(const char *name, ip_addr_t *ipaddr, void *callback_arg);
typedef void (*dns_found_callback)(const char *name, const ip_addr_t *ipaddr, void *callback_arg);
void dns_init(void);
void dns_tmr(void);