diff options
author | Steven Barth <steven@midlink.org> | 2014-08-08 07:30:34 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-08-08 07:30:34 +0200 |
commit | e59238f32a47616091d8c78acb317d7b4023745f (patch) | |
tree | 8cca92f62d9ddcc611c83624e3ffb95260c1765f /src/dhcpv6-ia.c | |
parent | 98b41e5b07b28b438fb0be45ba294a932f4c849b (diff) |
Add host-entries for all IPv6 addresses
Diffstat (limited to 'src/dhcpv6-ia.c')
-rw-r--r-- | src/dhcpv6-ia.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |