"node" or "host" would work equally well, but getaddrinfo(3) uses "node". Signed-off-by: Kevin Cernekee <cernekee at gmail.com> --- openconnect.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openconnect.h b/openconnect.h index 95d0eed..e8bcb95 100644 --- a/openconnect.h +++ b/openconnect.h @@ -593,7 +593,7 @@ int openconnect_has_system_key_support(void); int openconnect_set_protocol(struct openconnect_info *vpninfo, const char *protocol); struct addrinfo; -typedef int (*openconnect_getaddrinfo_vfn) (void *privdata, const char *nost, const char *service, +typedef int (*openconnect_getaddrinfo_vfn) (void *privdata, const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **res); void openconnect_override_getaddrinfo(struct openconnect_info *vpninfo, openconnect_getaddrinfo_vfn gai_fn); -- 1.9.1