diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-06-11 16:11:29 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-06-11 16:11:29 +0200 |
commit | 15d7ad8ac5bb187ac323da7dc30b9724b18c7df7 (patch) | |
tree | 944c1ab1eb6ebb97df778f3e1ce1142faf1d974c /src/DabMux.cpp | |
parent | 8b0d4b647a3ac2e21e6a8e7a902eea3ae462e213 (diff) | |
parent | 758a454aa892657720ac7c779252ba9ac336ba32 (diff) | |
download | dabmux-15d7ad8ac5bb187ac323da7dc30b9724b18c7df7.tar.gz dabmux-15d7ad8ac5bb187ac323da7dc30b9724b18c7df7.tar.bz2 dabmux-15d7ad8ac5bb187ac323da7dc30b9724b18c7df7.zip |
Merge EDI input work
Diffstat (limited to 'src/DabMux.cpp')
-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 e726fd3..578fc63 100644 --- a/src/DabMux.cpp +++ b/src/DabMux.cpp @@ -292,7 +292,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"); |