summaryrefslogtreecommitdiffstats
path: root/src/netparams.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/netparams.h')
-rw-r--r--src/netparams.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/netparams.h b/src/netparams.h
index 9cc0d28..fbc2b7b 100644
--- a/src/netparams.h
+++ b/src/netparams.h
@@ -172,7 +172,7 @@ public:
if (!dhcp.isEmpty()) {
allFound=1;
dhcpClient = dhcp.section("/",-1,-1);
- std::cout << "DHCP Client: " << dhcpClient << std::endl;
+ std::cout << "DHCP Client: " << dhcpClient.ascii() << std::endl;
}
ifconfig = getPath("ifconfig", binDirs);
@@ -182,7 +182,7 @@ public:
pidof = getPath("pidof", binDirs);
if (!allFound)
- std::cout << "Executable(s) not found:" << notFound.join(", ") << std::endl;
+ std::cout << "Executable(s) not found:" << notFound.join(", ").ascii() << std::endl;
else
std::cout << "All executables found." << std::endl;
}
@@ -248,12 +248,12 @@ public:
mCmd << route << "del" << "default" << "gw" << np.gateway;
} else
- std::cout << "Unknown action: " << action << std::endl;
+ std::cout << "Unknown action: " << action.ascii() << std::endl;
if ( (!mCmd.isEmpty()) && (!quiet) ) {//mCmd = TQStringList();
TQString mCmdString = mCmd.join(" ");
if (!np.wepKey.isEmpty()) mCmdString.replace(np.wepKey, "xxxxxxxxxx");
- std::cout << action << ": " << mCmdString << std::endl;
+ std::cout << action.ascii() << ": " << mCmdString.ascii() << std::endl;
}
return mCmd;
}