#13 Dynamic default interface selection

Unstable (example)
closed-accepted
nobody
None
5
2013-05-12
2013-02-10
No

Before, the default interface monitored was eth0, but on some machines eht0 is not running (wifi connection). This patch replace the determine_default_interface() to make it dynamic. I use getifaddrs() and the flags to detect all the interfaces available which are running and not loopback.

Discussion

  • Arnout Engelen

    Arnout Engelen - 2013-05-12
    • status: open --> closed-accepted
    • Group: --> Unstable (example)
     
  • Arnout Engelen

    Arnout Engelen - 2013-05-12

    very nice, I've been meaning to implement this for ages, many thanks!!

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks