add TYPE_IPINFOR check