summaryrefslogtreecommitdiffstats
path: root/libtransport/src
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2019-01-29 16:32:54 +0000
committerGerrit Code Review <gerrit@fd.io>2019-01-29 16:32:54 +0000
commita2e898eae8086cded2acfa96347184b3aa88d316 (patch)
treef97f0088716b08e9b0042ee5878ef3435160938d /libtransport/src
parentfce54a724e80c7442c98da8bf491ce60eb762db1 (diff)
parent92bce6034ead88d1a11b5bdacd975a9d4cbec795 (diff)
Merge "[HICN-10] Treat warning as errors in compilation during verify jobs."
Diffstat (limited to 'libtransport/src')
-rw-r--r--libtransport/src/hicn/transport/core/raw_socket_interface.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtransport/src/hicn/transport/core/raw_socket_interface.cc b/libtransport/src/hicn/transport/core/raw_socket_interface.cc
index 37aaff7e0..4cf7b2ca6 100644
--- a/libtransport/src/hicn/transport/core/raw_socket_interface.cc
+++ b/libtransport/src/hicn/transport/core/raw_socket_interface.cc
@@ -41,7 +41,7 @@ void RawSocketInterface::connect(bool is_consumer) {
}
// Get interface ip address
- struct sockaddr_in6 address;
+ struct sockaddr_in6 address = {0};
utils::retrieveInterfaceAddress(output_interface_, &address);
inet6_address_.family = address.sin6_family;