From 40952170ec7a79274dc8185400d92c30de97538a Mon Sep 17 00:00:00 2001 From: Stefan Pöschel Date: Sat, 6 Oct 2018 11:39:16 +0200 Subject: Fix protection level bug (#24) --- src/etianalyse.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/etianalyse.cpp b/src/etianalyse.cpp index 4a99e5e..1b4c5a2 100644 --- a/src/etianalyse.cpp +++ b/src/etianalyse.cpp @@ -598,11 +598,14 @@ void ETI_Analyser::eti_analyse() case subchannel_t::protection_eep_option_t::EEP_A: fprintf(stat_fd, " protection: EEP %d-A\n", subch.protection_level + 1); + break; case subchannel_t::protection_eep_option_t::EEP_B: fprintf(stat_fd, " protection: EEP %d-B\n", subch.protection_level + 1); + break; default: fprintf(stat_fd, " protection: unknown\n"); + break; } fprintf(stat_fd, " size: %d\n", subch.size); -- cgit v1.2.3