Hi, On Tue, Jun 12, 2018 at 12:14:27PM +0200, Arne Schwabe wrote: > > The existing Android code is different from all the other platforms, > > as it sends IPv6 info ("IFCONFIG6") *before* IPv4 info. > > > > Arne, do I have to assume that this is intentional, and your client will > > explode if it receives IFCONFIG first and IFCONFIG6 second, or no > > IFCONFIG at all? > > No ifconfig at at all will produce an error since ANdroid itself will > not like to have no ifconfig at all. For the Android client it is only > important that ifconfig/routes/etc. all happen before opening the tun > device. > > IPv6 only should be fine with my client.
So, to paraphrase this: you will handle IFCONFIG and IFCONFIG6 in either order or "just one of them" fine? I was sort of assuming the code waits for an incoming IFCONFIG and then fires up the VPN API with "IFCONFIG and optional IFCONFIG6" - in which case, sending IFCONFIG first would have caused "fun effects with IFCONFIG6", and "not sending IFCONFIG at all" would cause interesting effects :-) ... but now I do seem to remember that you collect *all* information first (IFCONFIG* and ROUTE*), so it doesn't really matter in which order the "core" sends it... gert -- "If was one thing all people took for granted, was conviction that if you feed honest figures into a computer, honest figures come out. Never doubted it myself till I met a computer with a sense of humor." Robert A. Heinlein, The Moon is a Harsh Mistress Gert Doering - Munich, Germany g...@greenie.muc.de
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel