diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-27 19:07:51 -0600 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-27 04:12:43 +0200 |
| commit | 40cdf03bd10440701ad9f0a5b0cca008e29035db (patch) | |
| tree | adb267a9fbee1732a4b5359e635e001dc0578442 /src/netparams.h | |
| parent | 67ab4c8b1fea62a0b1f531f93446526087d6cc30 (diff) | |
| download | wlassistant-40cdf03bd10440701ad9f0a5b0cca008e29035db.tar.gz wlassistant-40cdf03bd10440701ad9f0a5b0cca008e29035db.zip | |
Fix FTBFS
(cherry picked from commit ad685997cde1fc6d0a5def0fe8c6dfb0f81ded2c)
Diffstat (limited to 'src/netparams.h')
| -rw-r--r-- | src/netparams.h | 8 |
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; } |
