diff options
author | Mauro Sardara <msardara@cisco.com> | 2019-12-19 15:32:37 +0100 |
---|---|---|
committer | Mauro Sardara <msardara@cisco.com> | 2019-12-19 15:32:37 +0100 |
commit | 8112f87332232a707b46897fad3286db32abd077 (patch) | |
tree | 98099cbda7e82065f5a388c188df2f59c9aa6e46 | |
parent | ee4e2645e36a34ee736d320832349bcfa54ab306 (diff) |
[HICN-463] Initialize memory before sending message to hicn-light-forwarder
Change-Id: I4cfd1d45fb754d9efb71ff80ae97ca4fe27e47a2
Signed-off-by: Mauro Sardara <msardara@cisco.com>
-rw-r--r-- | libtransport/src/hicn/transport/core/hicn_forwarder_interface.cc | 2 |
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; |