From ad685997cde1fc6d0a5def0fe8c6dfb0f81ded2c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 27 Nov 2011 19:07:51 -0600 Subject: Fix FTBFS --- src/netparams.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/netparams.h') 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; } -- cgit v1.2.1