Hi,

(copying openvpn-devel back in, as Selva has a surprising explanation
for this)

On Wed, Aug 17, 2016 at 04:40:05PM -0400, Selva Nair wrote:
> If the problem is on windows I believe this may be related to
> ifconfig_noexec being
> reset on windows to ip_win32_type = manual, or some such. Then
> do_ifconfig will get called and the ip setting should get skipped inside
> it. Recall
> seeing it while looking into the code setting ipv6 by service. Don't have
> access to the repo to be more precise..

You are right:

  if (options->ifconfig_noexec)
    {
      options->tuntap_options.ip_win32_type = IPW32_SET_MANUAL;
      options->ifconfig_noexec = false;
    }

(in options.c)

so indeed, it would call do_ifconfig() then, and explicitely not do IPv4,
and then just go forward as if nothing had happened and *do* IPv6.

What a horrible hack...  I hope we can get rid of this as soon as Heiko's
"do windows in the normal order of things" patch has been fully tested
and merged.

I'll open a trac ticket as soon as I have proper Internet again, which
is not paid by the kbyte...

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

------------------------------------------------------------------------------
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to