projects
/
project
/
odhcp6c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9c8be2
)
ia_na: use big-endian 1 as IAID
author
Steven Barth
<steven@midlink.org>
Fri, 22 Aug 2014 14:07:37 +0000
(16:07 +0200)
committer
Steven Barth
<steven@midlink.org>
Fri, 22 Aug 2014 14:07:37 +0000
(16:07 +0200)
src/dhcpv6.c
patch
|
blob
|
history
diff --git
a/src/dhcpv6.c
b/src/dhcpv6.c
index 0c98729036cae8d587e7ef451be02ff8758d561c..e52fd6cd95fcf5dc4aa47febb023cb12e00b8eca 100644
(file)
--- a/
src/dhcpv6.c
+++ b/
src/dhcpv6.c
@@
-366,7
+366,7
@@
static void dhcpv6_send(enum dhcpv6_msg type, uint8_t trid[3], uint32_t ecs)
struct dhcpv6_ia_hdr hdr_ia_na = {
htons(DHCPV6_OPT_IA_NA),
htons(sizeof(hdr_ia_na) - 4),
-
1
, 0, 0
+
htonl(1)
, 0, 0
};
struct dhcpv6_ia_addr pa[ia_na_entries];