Fixed several bugs include ipadm type for Solaris 11