From e59238f32a47616091d8c78acb317d7b4023745f Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 8 Aug 2014 07:30:34 +0200 Subject: [PATCH] Add host-entries for all IPv6 addresses --- src/dhcpv6-ia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c index 8f0307e..90dcaf5 100644 --- a/src/dhcpv6-ia.c +++ b/src/dhcpv6-ia.c @@ -269,7 +269,7 @@ void dhcpv6_write_statefile(void) inet_ntop(AF_INET6, &addr, ipbuf, sizeof(ipbuf) - 1); - if (c->length == 128 && c->hostname && i == 0) { + if (c->length == 128 && c->hostname) { fputs(ipbuf, fp); char b[256]; -- 2.11.0