FWIW - I think just say port value of zero would be better than null. Or if really hate 0,   'invalid' might be better than null (same comment all the places this is used)