tap-bridge: initialize m_linkUp

This commit is contained in:
Tommaso Pecorella
2023-10-20 11:47:54 +02:00
committed by Tommaso Pecorella
parent f917fc0fec
commit d21bdd501a

View File

@@ -459,7 +459,7 @@ class TapBridge : public NetDevice
* whether or not ns-3 is connected to the underlying TAP device
* with a file descriptor.
*/
bool m_linkUp;
bool m_linkUp{false};
/**
* Flag indicating whether or not the link is up. In this case,