aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Pöschel <github@basicmaster.de>2018-10-06 11:39:16 +0200
committerStefan Pöschel <github@basicmaster.de>2018-10-06 11:39:16 +0200
commit40952170ec7a79274dc8185400d92c30de97538a (patch)
tree60a3d70d99634250bafa6c729a510d40ef40acd6
parent97958cd29edb1e40c77dac651b9a97e9a29e667a (diff)
downloadetisnoop-40952170ec7a79274dc8185400d92c30de97538a.tar.gz
etisnoop-40952170ec7a79274dc8185400d92c30de97538a.tar.bz2
etisnoop-40952170ec7a79274dc8185400d92c30de97538a.zip
Fix protection level bug (#24)
-rw-r--r--src/etianalyse.cpp3
1 files changed, 3 insertions, 0 deletions
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);