add check_reachable for Solaris
Merge pull request #165 from ftnk/check_reachable-for-solaris

add check_reachable for Solaris