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 [email protected]
Büro: 07 11 / 550 425-90
Marktstraße 57 Fax: 07 11 / 550 425-99
70372 Stuttgart
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
