Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix when the same interface has multiple ips
IP_ADD_MEMBERSHIP fails if you try to subscribe to the same interface once again. As get_all_ips may return the same interface when it has multiple ipv4, it will try to subscribe twice. This commit fixes it by filtering out the same interface twice More: - https://stackoverflow.com/questions/49819010/ip-add-membership-fails-when-set-both-on-interface-and-its-subinterface-is-that
- Loading branch information