From 1efcbbe65e1cebe047ea96fdd6d6e9396d956f1f Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 7 Jun 2019 14:04:38 +0200 Subject: EDI configuration: default to protocol udp --- src/DabMux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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("protocol"); + const auto proto = pt_edi_dest.second.get("protocol", "udp"); if (proto == "udp") { auto dest = make_shared(); dest->dest_addr = pt_edi_dest.second.get("destination"); -- cgit v1.2.3