projects
/
oweals
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98b41e5
)
Add host-entries for all IPv6 addresses
author
Steven Barth
<steven@midlink.org>
Fri, 8 Aug 2014 05:30:34 +0000
(07:30 +0200)
committer
Steven Barth
<steven@midlink.org>
Fri, 8 Aug 2014 05:30:34 +0000
(07:30 +0200)
src/dhcpv6-ia.c
patch
|
blob
|
history
diff --git
a/src/dhcpv6-ia.c
b/src/dhcpv6-ia.c
index 8f0307ea1bab71649385292c146924082a9353cf..90dcaf53f46ff66a83fdda5d97041bf9a656020c 100644
(file)
--- 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];