[checkmk-commits] Moved port_match function out of loop