Remove extra interfaces form socketaddress.