Skip to content

Commit cee3d57

Browse files
committed
stp: remove exclamation mark icon
1 parent b0dce55 commit cee3d57

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/inet/linklayer/ieee8021d/common/StpBase.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,22 +142,19 @@ void StpBase::refreshDisplay() const
142142
if (rootInterfaceId == -1) {
143143
switchModule->getDisplayString().setTagArg("i", 1, ROOT_SWITCH_COLOR);
144144
switchModule->getDisplayString().setTagArg("i", 2, 100);
145-
switchModule->getDisplayString().setTagArg("i2", 0, "status/excl");
146145
switchModule->getDisplayString().setTagArg("t", 0, "cost: 0");
147146
}
148147
else {
149148
const Ieee8021dInterfaceData *rootPort = getPortInterfaceData(rootInterfaceId);
150149
std::string costStr = "cost: " + std::to_string(rootPort->getRootPathCost());
151150
switchModule->getDisplayString().setTagArg("i", 1, "-");
152151
switchModule->getDisplayString().setTagArg("i", 2, int(0));
153-
switchModule->getDisplayString().setTagArg("i2", 0, "");
154152
switchModule->getDisplayString().setTagArg("t", 0, costStr.c_str());
155153
}
156154
}
157155
else {
158156
switchModule->getDisplayString().setTagArg("i", 1, "-");
159157
switchModule->getDisplayString().setTagArg("i", 2, int(0));
160-
switchModule->getDisplayString().setTagArg("i2", 0, "");
161158
switchModule->getDisplayString().setTagArg("t", 0, "");
162159
}
163160
}

0 commit comments

Comments
 (0)