aboutsummaryrefslogtreecommitdiffstats
path: root/src/zmq2edi
diff options
context:
space:
mode:
Diffstat (limited to 'src/zmq2edi')
-rw-r--r--src/zmq2edi/zmq2edi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zmq2edi/zmq2edi.cpp b/src/zmq2edi/zmq2edi.cpp
index a2daf49..3888d8a 100644
--- a/src/zmq2edi/zmq2edi.cpp
+++ b/src/zmq2edi/zmq2edi.cpp
@@ -169,7 +169,7 @@ static void add_edi_destination(void)
}
edi_conf.destinations.push_back(move(edi_destination));
- edi_destination.reset();
+ edi_destination = std::make_shared<edi::udp_destination_t>();
source_port_set = false;
source_addr_set = false;