diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2014-07-01 21:38:01 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2014-07-01 21:47:14 +0200 |
commit | df3dac62087211a1d4b2827897d80270ba51e413 (patch) | |
tree | aa1e71d836bdb17de816d85ffc2c49ae2df9cf0f /src/dhcpv6.c | |
parent | 1bbf34a1df3e16865b3b9330b338952076bc26f9 (diff) |
Replace option sol_max_rt by inf_max_rt in reply response to information request
Diffstat (limited to 'src/dhcpv6.c')
-rw-r--r-- | src/dhcpv6.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dhcpv6.c b/src/dhcpv6.c index f0a4938..30b4d25 100644 --- a/src/dhcpv6.c +++ b/src/dhcpv6.c @@ -302,6 +302,9 @@ static void handle_client_request(void *addr, void *data, size_t len, } else if (opts[-4] == DHCPV6_MSG_INFORMATION_REQUEST) { iov[IOV_REFRESH].iov_base = &refresh; iov[IOV_REFRESH].iov_len = sizeof(refresh); + + // Return inf max rt option in reply to information request + maxrt.type = htons(DHCPV6_OPT_INF_MAX_RT); } // Go through options and find what we need |