[checkmk-commits] [tribe29/checkmk] be092e: Factor out determination of protocol