Hi,

On Thu, Jun 23, 2016 at 12:04:53PM +0100, debbie10t wrote:
> What does this indicate please:
> 
> GDG: SIOCGIFHWADDR(lo) failed

              /* now get the hardware address. */
              memset (&ifreq.ifr_hwaddr, 0, sizeof (struct sockaddr));
              if (ioctl (sd, SIOCGIFHWADDR, &ifreq) < 0)
                {
                  msg (M_WARN, "GDG: SIOCGIFHWADDR(%s) failed", ifreq.ifr_name);
                  goto done;
                }

"it failed to get the hardware address for the interface 'lo'"

Now why it wants to do that in the first place is interesting - it tried
to lookup the default gateway, and ended up with something that points
to "lo" as next-hop - which does not have MAC addresses.


Given that this is *Android*, I think the message is just spurious and
has nothing to do whatsoever with the real problem, whatever that might
be - the function in question (get_default_gateway() in route.c) does 
not really do "find gateway" on Android, because it lacks the permission
and that is not needed anyway (VPN API).

gert


-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]
fax: +49-89-35655025                        [email protected]

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to