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;
|
string interface;
|
||||||
for (const auto& iface : interfaces) {
|
for (const auto& iface : interfaces) {
|
||||||
ostringstream error;
|
ostringstream msg;
|
||||||
|
|
||||||
if (is_interface_up(iface)) {
|
if (is_interface_up(iface)) {
|
||||||
error << "Interface " << iface << " is up";
|
msg << "Interface " << iface << " is up";
|
||||||
LOGTRACE("%s", error.str().c_str());
|
LOGTRACE("%s", msg.str().c_str());
|
||||||
|
|
||||||
interface = iface;
|
interface = iface;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
error << "Interface " << iface << " is not up";
|
msg << "Interface " << iface << " is not up";
|
||||||
LOGTRACE("%s", error.str().c_str());
|
LOGTRACE("%s", msg.str().c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user