Get all running non-loopback devices by default, thanks to Alexandre LAURENT!

This commit is contained in:
Arnout Engelen
2013-05-12 12:59:50 +00:00
parent f6220a3c0d
commit 7c599c8c80
3 changed files with 62 additions and 6 deletions

View File

@@ -34,6 +34,10 @@ public:
device * next;
};
device * determine_default_device();
/**
* This function can return null, if no good interface is found
* The function avoids loopback interface and down/not running interfaces
*/
device * get_default_devices();
#endif