X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=blobdiff_plain;f=src%2Fdhcpv6.c;h=30b4d2594cc3a7ebfcb5759c4daa82a28543d812;hp=f0a4938788a96ca7163c2c640dba6413990086aa;hb=d167decf6d29cb39679f485d8b97ced815d5c8bb;hpb=1bbf34a1df3e16865b3b9330b338952076bc26f9 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