Passing the ip list as a proper list