diff options
-rw-r--r-- | src/Outputs.cpp | 3 |
1 files changed, 0 insertions, 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<edi::tcp_client_t>(); 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); |