summaryrefslogtreecommitdiffstats
path: root/src/Outputs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Outputs.cpp')
-rw-r--r--src/Outputs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Outputs.cpp b/src/Outputs.cpp
index 66335cb..713ac1a 100644
--- a/src/Outputs.cpp
+++ b/src/Outputs.cpp
@@ -150,7 +150,7 @@ void EDI::add_udp_destination(const std::string& host, unsigned int port)
{
auto dest = make_shared<edi::udp_destination_t>();
dest->dest_addr = host;
- m_edi_conf.dest_port = port;
+ dest->dest_port = port;
m_edi_conf.destinations.push_back(dest);
// We cannot carry AF packets over UDP, because they would be too large.