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:
11ce6b5
)
dhcpv6-ia: fix static assignment check
author
Hans Dedecker
<dedeckeh@gmail.com>
Tue, 3 Jan 2017 09:42:19 +0000
(10:42 +0100)
committer
Hans Dedecker
<dedeckeh@gmail.com>
Tue, 3 Jan 2017 09:45:17 +0000
(10:45 +0100)
Fix static assignment check failure which was
introduced in commit
561890e
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/dhcpv6-ia.c
patch
|
blob
|
history
diff --git
a/src/dhcpv6-ia.c
b/src/dhcpv6-ia.c
index abcbe8904b83a2691cee929c485df650b24e3f98..59d93b2b37c6bd9646196d983476cdc7a856f2b4 100644
(file)
--- a/
src/dhcpv6-ia.c
+++ b/
src/dhcpv6-ia.c
@@
-451,7
+451,7
@@
static void managed_handle_pd_data(struct ustream *s, _unused int bytes_new)
if (first && c->managed_size == 0)
free_dhcpv6_assignment(c);
- else if (first & !(c->flags & OAF_STATIC))
+ else if (first &
&
!(c->flags & OAF_STATIC))
c->valid_until = now + 150;
}