From d21bdd501a2789155bcf4bf917e4bbb4d0f72ebc Mon Sep 17 00:00:00 2001 From: Tommaso Pecorella Date: Fri, 20 Oct 2023 11:47:54 +0200 Subject: [PATCH] tap-bridge: initialize m_linkUp --- src/tap-bridge/model/tap-bridge.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tap-bridge/model/tap-bridge.h b/src/tap-bridge/model/tap-bridge.h index fdce0fc1e..87277280a 100644 --- a/src/tap-bridge/model/tap-bridge.h +++ b/src/tap-bridge/model/tap-bridge.h @@ -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,