summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-06-07 14:04:38 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-06-07 14:04:38 +0200
commit1efcbbe65e1cebe047ea96fdd6d6e9396d956f1f (patch)
treeaec20001bcbf47a0dc64c7866d21a5b6218751c8
parent3dc74c15f76e999768643ed4381196292d5376bc (diff)
downloaddabmux-1efcbbe65e1cebe047ea96fdd6d6e9396d956f1f.tar.gz
dabmux-1efcbbe65e1cebe047ea96fdd6d6e9396d956f1f.tar.bz2
dabmux-1efcbbe65e1cebe047ea96fdd6d6e9396d956f1f.zip
EDI configuration: default to protocol udp
-rw-r--r--src/DabMux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp
index b9ee9fd..51f0310 100644
--- a/src/DabMux.cpp
+++ b/src/DabMux.cpp
@@ -293,7 +293,7 @@ int main(int argc, char *argv[])
if (outputuid == "edi") {
ptree pt_edi = pt_outputs.get_child("edi");
for (auto pt_edi_dest : pt_edi.get_child("destinations")) {
- const auto proto = pt_edi_dest.second.get<string>("protocol");
+ const auto proto = pt_edi_dest.second.get<string>("protocol", "udp");
if (proto == "udp") {
auto dest = make_shared<edi::udp_destination_t>();
dest->dest_addr = pt_edi_dest.second.get<string>("destination");