Added control fro checking unique primary ip