diff --git a/src/devices/mesh/dot11s/hwmp-protocol.cc b/src/devices/mesh/dot11s/hwmp-protocol.cc index cddd154a8..5165aee7e 100644 --- a/src/devices/mesh/dot11s/hwmp-protocol.cc +++ b/src/devices/mesh/dot11s/hwmp-protocol.cc @@ -1140,6 +1140,10 @@ HwmpProtocol::ResetStats () plugin->second->ResetStats (); } } - +HwmpProtocol::QueuedPacket::QueuedPacket () : + pkt (0), + protocol (0), + inInterface (0) +{} } //namespace dot11s } //namespace ns3 diff --git a/src/devices/mesh/dot11s/hwmp-protocol.h b/src/devices/mesh/dot11s/hwmp-protocol.h index a7b264339..991245d68 100644 --- a/src/devices/mesh/dot11s/hwmp-protocol.h +++ b/src/devices/mesh/dot11s/hwmp-protocol.h @@ -145,7 +145,7 @@ private: uint32_t inInterface; ///< incoming device interface ID. (if packet has come from upper layers, this is Mesh point ID) RouteReplyCallback reply; ///< how to reply - QueuedPacket () : pkt (0), protocol (0), inInterface (0) {} + QueuedPacket (); }; ///\name Methods related to Queue/Dequeue procedures