fp = stdin;
}
- request = rad_alloc(NULL, 0);
+ request = rad_alloc(NULL, false);
/*
* Read the VP's.
portname = NULL;
}
- if (ip_hton(AF_INET, hostname, &server_ipaddr) < 0) {
+ if (ip_hton(&server_ipaddr, AF_INET, hostname, false) < 0) {
fprintf(stderr, "dhcpclient: Failed to find IP address for host %s: %s\n", hostname, fr_syserror(errno));
exit(1);
}