aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libtransport/src/hicn/transport/core/hicn_forwarder_interface.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtransport/src/hicn/transport/core/hicn_forwarder_interface.cc b/libtransport/src/hicn/transport/core/hicn_forwarder_interface.cc
index 7047a3a67..2a02a2ba8 100644
--- a/libtransport/src/hicn/transport/core/hicn_forwarder_interface.cc
+++ b/libtransport/src/hicn/transport/core/hicn_forwarder_interface.cc
@@ -91,7 +91,7 @@ RouteToSelfCommand createCommandRoute(std::unique_ptr<sockaddr> &&addr,
}
DeleteSelfConnectionCommand createCommandDeleteConnection() {
- DeleteSelfConnectionCommand command;
+ DeleteSelfConnectionCommand command = {0};
fillCommandHeader((CommandHeader *)&command);
command.command_id = delete_connection_command;