Support list /non-list of ip addresses