Added -n switch for ip address output