mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-24 12:30:20 +00:00
Renaming
This commit is contained in:
parent
a58a1cda15
commit
3db5d1dc4d
@ -164,18 +164,18 @@ bool CTapDriver::Init()
|
||||
|
||||
string interface;
|
||||
for (const auto& iface : interfaces) {
|
||||
ostringstream error;
|
||||
ostringstream msg;
|
||||
|
||||
if (is_interface_up(iface)) {
|
||||
error << "Interface " << iface << " is up";
|
||||
LOGTRACE("%s", error.str().c_str());
|
||||
msg << "Interface " << iface << " is up";
|
||||
LOGTRACE("%s", msg.str().c_str());
|
||||
|
||||
interface = iface;
|
||||
break;
|
||||
}
|
||||
else {
|
||||
error << "Interface " << iface << " is not up";
|
||||
LOGTRACE("%s", error.str().c_str());
|
||||
msg << "Interface " << iface << " is not up";
|
||||
LOGTRACE("%s", msg.str().c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user