diff options
Diffstat (limited to 'src/components/transport_manager/include/transport_manager/tcp/platform_specific/linux/platform_specific_network_interface_listener_impl.h')
-rw-r--r-- | src/components/transport_manager/include/transport_manager/tcp/platform_specific/linux/platform_specific_network_interface_listener_impl.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/components/transport_manager/include/transport_manager/tcp/platform_specific/linux/platform_specific_network_interface_listener_impl.h b/src/components/transport_manager/include/transport_manager/tcp/platform_specific/linux/platform_specific_network_interface_listener_impl.h index a7338b94be..bb60b09a9d 100644 --- a/src/components/transport_manager/include/transport_manager/tcp/platform_specific/linux/platform_specific_network_interface_listener_impl.h +++ b/src/components/transport_manager/include/transport_manager/tcp/platform_specific/linux/platform_specific_network_interface_listener_impl.h @@ -22,7 +22,12 @@ class TcpClientListener; */ class InterfaceStatus { public: - InterfaceStatus() : flags_(0), has_ipv4_(false), has_ipv6_(false) {} + InterfaceStatus() + : flags_(0) + , has_ipv4_(false) + , has_ipv6_(false) + , ipv4_address_() + , ipv6_address_() {} ~InterfaceStatus() {} bool IsAvailable() const; @@ -132,7 +137,7 @@ class PlatformSpecificNetworkInterfaceListener struct sockaddr_storage address; EventParam(int interface_index, unsigned int interface_flags = 0) - : if_index(interface_index), flags(interface_flags) {} + : if_index(interface_index), flags(interface_flags), address() {} }; // parent class which we will notify the events to |