check_hpjd port option

Closing github issue #973