Commit Graph

11 Commits

Author SHA1 Message Date
Daniel O'Connor
8882515d03 Fix compilation on OSX.
- /proc/net/route is Linux only.
- lsif() will work anywhere SIOCGIFCONF is defined.
- Abstract namespace UNIX domain sockets are Linux only.
- Rework code to reduce indent levels.
2012-05-28 15:00:54 +09:30
gardners
14f9d8001b and even better fix again, since this one builds on both linux and
android.
2012-05-11 08:18:58 +09:30
gardners
c70646039d better fix for redefined symbols 2012-05-11 08:17:37 +09:30
gardners
51966737a6 fix build problem on unbuntu (ifreq gets redefined) 2012-05-11 08:16:15 +09:30
Andrew Bettison
881576212c Fix all trivial compiler warnings 2012-05-10 18:08:59 +09:30
gardners
98ea86bde0 added new /proc/net/route method to find interfaces on android
(would you believe that using ifconfig to READ about interfaces
requires ROOT on android).
should also help for interfaces with multiple addresses.
2012-05-03 22:46:00 +09:30
gardners
6e933be9ec fixed bug on android with previous commit 2012-05-03 17:17:56 +09:30
gardners
82ca3dde5d impoved debugging and operation of interface detection
(since it has suddenly decided to fail)
2012-05-03 17:15:05 +09:30
gardners
ac5ce2b29a fixed file descriptor leak. 2012-04-28 14:24:57 +09:30
gardners
07768e27f7 fixed macro to select when to build lsif() 2012-04-28 12:32:02 +09:30
gardners
2ab32197a7 Put new linux-specific interface listing routine in that is needed
for android, where the portable method isn't easily available.
2012-04-28 12:25:19 +09:30