Change-Id: I54eab7da7e5819f633a5612abe46d44550068aab
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
/// @brief Construct a socket by moving an existing one.
socketcan_t::socketcan_t(socketcan_t&& s)
: socket_{s.socket_}
/// @brief Construct a socket by moving an existing one.
socketcan_t::socketcan_t(socketcan_t&& s)
: socket_{s.socket_}
+ {
+ ::memset(&tx_address_, 0, sizeof(tx_address_));
+ }
socketcan_t& socketcan_t::operator=(const socketcan_t& s)
{
socketcan_t& socketcan_t::operator=(const socketcan_t& s)
{