diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-06-07 14:04:38 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-06-07 14:04:38 +0200 |
commit | 1efcbbe65e1cebe047ea96fdd6d6e9396d956f1f (patch) | |
tree | aec20001bcbf47a0dc64c7866d21a5b6218751c8 | |
parent | 3dc74c15f76e999768643ed4381196292d5376bc (diff) | |
download | dabmux-1efcbbe65e1cebe047ea96fdd6d6e9396d956f1f.tar.gz dabmux-1efcbbe65e1cebe047ea96fdd6d6e9396d956f1f.tar.bz2 dabmux-1efcbbe65e1cebe047ea96fdd6d6e9396d956f1f.zip |
EDI configuration: default to protocol udp
-rw-r--r-- | src/DabMux.cpp | 2 |
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"); |