diff options
-rw-r--r-- | src/rfc3315.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rfc3315.c b/src/rfc3315.c index ee1cf17..bca3268 100644 --- a/src/rfc3315.c +++ b/src/rfc3315.c @@ -1202,7 +1202,7 @@ static int dhcp6_no_relay(struct state *state, int msg_type, void *inbuff, size_ } o1 = new_opt6(OPTION6_IAADDR); - put_opt6(opt6_ptr(ia_option, 0), IN6ADDRSZ); + put_opt6(&addr, IN6ADDRSZ); put_opt6_long(0); put_opt6_long(0); end_opt6(o1); |