/[packages]/cauldron/xbmc/current/SOURCES/xbmc-allow-ppp.patch
ViewVC logotype

Contents of /cauldron/xbmc/current/SOURCES/xbmc-allow-ppp.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 78010 - (show annotations) (download)
Sun Mar 27 11:44:10 2011 UTC (13 years ago) by ennael
File size: 705 byte(s)
imported package xbmc
1 diff --git a/xbmc/linux/NetworkLinux.cpp b/xbmc/linux/NetworkLinux.cpp
2 index 47b7c93..d8be951 100644
3 --- a/xbmc/linux/NetworkLinux.cpp
4 +++ b/xbmc/linux/NetworkLinux.cpp
5 @@ -309,15 +309,9 @@ void CNetworkLinux::queryInterfaceList()
6 n = strcspn(p, ": \t");
7 p[n] = 0;
8
9 - // make sure the device has ethernet encapsulation
10 - struct ifreq ifr;
11 - strcpy(ifr.ifr_name, p);
12 - if (ioctl(GetSocket(), SIOCGIFHWADDR, &ifr) >= 0 && ifr.ifr_hwaddr.sa_family == ARPHRD_ETHER)
13 - {
14 // save the result
15 CStdString interfaceName = p;
16 m_interfaces.push_back(new CNetworkInterfaceLinux(this, interfaceName));
17 - }
18 }
19 free(line);
20 fclose(fp);

  ViewVC Help
Powered by ViewVC 1.1.30