https://tools.ietf.org/html/rfc3315#section-22.6 <https://tools.ietf.org/html/rfc3315#section-22.6>
> On May 24, 2018, at 11:58 AM, Baruch Siach <[email protected]> wrote: > > Hi David, > > On Thu, May 24, 2018 at 08:30:16AM -0700, David Decotigny wrote: >> Ref: http://go/rfc/3315#section-22.6 <http://go/rfc/3315#section-22.6> > > This URL doesn't work here. Is is kind of Google internal thing? > > baruch > >> Signed-off-by: David Decotigny <[email protected]> >> --- >> networking/udhcp/d6_dhcpc.c | 4 ++++ >> 1 file changed, 4 insertions(+) >> >> diff --git a/networking/udhcp/d6_dhcpc.c b/networking/udhcp/d6_dhcpc.c >> index 39b0501ad..c6276f97b 100644 >> --- a/networking/udhcp/d6_dhcpc.c >> +++ b/networking/udhcp/d6_dhcpc.c >> @@ -288,6 +288,10 @@ static void option_to_env(const uint8_t *option, const >> uint8_t *option_end) >> * | valid-lifetime | >> * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ >> */ >> + /* Make sure payload contains an address */ >> + if (option[3] < 24) >> + break; >> + >> sprint_nip6(ipv6str, option + 4); >> *new_env() = xasprintf("ipv6=%s", ipv6str); > > -- > http://baruch.siach.name/blog/ <http://baruch.siach.name/blog/> > ~. .~ Tk Open Systems > =}------------------------------------------------ooO--U--Ooo------------{= > - [email protected] <mailto:[email protected]> - tel: +972.52.368.4656, > http://www.tkos.co.il <http://www.tkos.co.il/> - > _______________________________________________ > busybox mailing list > [email protected] <mailto:[email protected]> > http://lists.busybox.net/mailman/listinfo/busybox > <http://lists.busybox.net/mailman/listinfo/busybox>
_______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
