Skip to content

Commit

Permalink
tap-bridge: initialize m_linkUp
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyPec committed Oct 21, 2023
1 parent f917fc0 commit d21bdd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tap-bridge/model/tap-bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d21bdd5

Please sign in to comment.