From b6b6dcf1ca0a85d69346d85e4f6aa7f17503b3fd Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 21 Oct 2024 16:36:28 +0200 Subject: Remove wrong check that never triggers --- src/Outputs.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Outputs.cpp b/src/Outputs.cpp index ad05f93..d7af7d4 100644 --- a/src/Outputs.cpp +++ b/src/Outputs.cpp @@ -162,9 +162,6 @@ void EDI::add_tcp_destination(const std::string& host, unsigned int port) { auto dest = make_shared(); dest->dest_addr = host; - if (dest->dest_port != 0 and dest->dest_port != port) { - throw runtime_error("All EDI UDP outputs must be to the same destination port"); - } dest->dest_port = port; m_edi_conf.destinations.push_back(dest); -- cgit v1.2.3