[PATCH] Added support for timezones on dhcp6-client (RFC 4833)

tiggersWelt.net (Support) support at tiggerswelt.net
Tue Jun 27 16:20:18 UTC 2017


Am 27.06.2017 um 18:13 schrieb Denys Vlasenko:
[...]
> Let's unbreak -O OPT instead? IPv4 client adds list of -O options
> to outgoing packets using add_client_options(), like this:
[...]
> IPv6 client does not do it:
[...]
> but add_d6_client_options() is a dummy function: currently it simply
> returns opt_ptr.
> 
> What it needs to do is look at client_config.opt_mask, and if
> there are requested opts, append OPTION_ORO at opt_ptr:
> 
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>       |           OPTION_ORO          |           option-len          |
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>       |    requested-option-code-1    |    requested-option-code-2    |
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>       |                              ...                              |
>       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> 
> (And opt_req[] needs to die then).
> 
> Can you try making a patch?

I'll have a look on it.

Already thought about doing stuff like this regarding the FQDN-Option as this is already mentioned in
--help. But haven't yet had time to dig into it.

-- 
    \\\||///
  \\  - -  //
   (  @ @  )
-oOo--( )--oOo-------------------------------------------------------
 tiggersWelt.net                                 www.tiggersWelt.net
 Inhaber Bernd Holzmüller                       info at tiggerswelt.net
                                            Büro: 07 11 / 550 425-90
 Marktstraße 57                              Fax: 07 11 / 550 425-99
 70372 Stuttgart

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3310 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20170627/4c12edb0/attachment.p7s>


More information about the busybox mailing list