Remove duplicate ips from nice_interfaces
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Sat, 15 Nov 2014 21:17:58 +0000 (16:17 -0500)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Fri, 30 Jan 2015 23:35:30 +0000 (18:35 -0500)
commit925649e8c6ac8ce461fbf769dee0e2ce4d78e506
tree2f26955a9948ab488a8103546a591c74bcaaddec
parentb7a36c0c0c4e5e48d6c97687cdf2dccd4c5f9565
Remove duplicate ips from nice_interfaces
OpenVPN creates a tun interface having the same IP assigned twice like:

9: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc ...100
    link/none
    inet 10.222.111.10 peer 10.222.111.9/32 brd 10.222.111.10 scope global tun0
       valid_lft forever preferred_lft forever
    inet 10.222.111.10/32 brd 10.222.111.10 scope global tun0
       valid_lft forever preferred_lft forever

This interface would generate two identical host candidates with the same value
of foundation.
agent/interfaces.c