Fixes duplicate addresses if connected to a VPN.