projects
/
oweals
/
odhcp6c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2037bd1
)
Fix handling of PD-Advertisements
author
Steven Barth
<steven@midlink.org>
Thu, 17 Oct 2013 07:19:01 +0000
(09:19 +0200)
committer
Steven Barth
<steven@midlink.org>
Thu, 17 Oct 2013 07:19:01 +0000
(09:19 +0200)
src/dhcpv6.c
patch
|
blob
|
history
diff --git
a/src/dhcpv6.c
b/src/dhcpv6.c
index 05794c6e570c58740627a5c4351fa6bab3060e57..f905a7836d2ba601d5b98c5a10d72e77bd53da34 100644
(file)
--- a/
src/dhcpv6.c
+++ b/
src/dhcpv6.c
@@
-599,7
+599,7
@@
static int dhcpv6_handle_advert(enum dhcpv6_msg orig,
dhcpv6_for_each_option(&h[1], oend, otype, olen, d) {
if (otype == DHCPV6_OPT_IA_PREFIX && (olen + 4) >=
(uint16_t)sizeof(struct dhcpv6_ia_prefix)) {
- struct dhcpv6_ia_prefix *p = (struct dhcpv6_ia_prefix*)&
odata
[-4];
+ struct dhcpv6_ia_prefix *p = (struct dhcpv6_ia_prefix*)&
d
[-4];
have_pd = p->prefix;
}
}