Thereby fix bug in the NIC router that previously used uint8_t values for ports in some places. Ref #2193