sa: sa_print_addr(): fix building without HAVE_INET6

This commit is contained in:
Richard Aas 2013-09-09 10:28:58 +00:00
parent 9a2db7d430
commit 0ef9de3ab2

View file

@ -31,7 +31,7 @@ int sa_print_addr(struct re_printf *pf, const struct sa *sa)
err = re_hprintf(pf, "%j", sa);
#ifdef HAVE_GETIFADDRS
#if defined (HAVE_GETIFADDRS) && defined (HAVE_INET6)
if (sa_af(sa) == AF_INET6 && sa_is_linklocal(sa)) {
char ifname[IF_NAMESIZE];