Fixes #4883: Add deduplication logic on IPs for same interface
Merge pull request #40 from fanf/bug_4883/deduplicate_ips_for_same_interface

Fixes #4883: Add deduplication logic on IPs for same interface