Fix breakage in ARP code when IPV6 support not compiled in.

This commit is contained in:
Simon Kelley committed 2016-02-05 14:48:25 +00:00
1 parent e6e751b066
commit 1566bacb2c
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -300,7 +300,7 @@ int create_helper(int event_fd, int err_fd, uid_t uid, gid_t gid, long max_fd)
if (!is6)
inet_ntop(AF_INET, &data.addr, daemon->addrbuff, ADDRSTRLEN);
#ifdef HAVE_DHCP6
#ifdef HAVE_IPV6
else
inet_ntop(AF_INET6, &data.addr6, daemon->addrbuff, ADDRSTRLEN);
#endif