diff options
author | Timothy Pearson <[email protected]> | 2011-11-27 19:07:51 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-27 19:07:51 -0600 |
commit | ad685997cde1fc6d0a5def0fe8c6dfb0f81ded2c (patch) | |
tree | 5b8ac52e15166c53315992cb2a87cc28643f1ab4 /src/netparams.h | |
parent | bf4f321c3b94af160910a0d7d9cf7b1fa1a76bda (diff) | |
download | wlassistant-ad685997cde1fc6d0a5def0fe8c6dfb0f81ded2c.tar.gz wlassistant-ad685997cde1fc6d0a5def0fe8c6dfb0f81ded2c.zip |
Fix FTBFS
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; } |