Added, thanks Stephen R. van den Berg wrote:
--- src/lib/misc.c | 2 +- src/main/dhcpd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/misc.c b/src/lib/misc.c index 9e098d5..a7e059f 100644 --- a/src/lib/misc.c +++ b/src/lib/misc.c @@ -441,7 +441,7 @@ int ip_hton(const char *src, int af, fr_ipaddr_t *dst) }
/* - * Look IP addreses up, and print names (depending on DNS config) + * Look IP addresses up, and print names (depending on DNS config) */ const char *ip_ntoh(const fr_ipaddr_t *src, char *dst, size_t cnt) { diff --git a/src/main/dhcpd.c b/src/main/dhcpd.c index 9e9c71c..975f159 100644 --- a/src/main/dhcpd.c +++ b/src/main/dhcpd.c @@ -247,7 +247,7 @@ static int dhcp_socket_parse(CONF_SECTION *cs, rad_listen_t *this) }
if (setsockopt(this->fd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) < 0) { - radlog(L_ERR, "Can't set re-use addres option: %s\n", + radlog(L_ERR, "Can't set re-use address option: %s\n", strerror(errno)); return -1; }