X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FRaw%2FTunTapSocketHandle.cc;h=f2be6452c6200eb089a60936e11517799f810773;hb=81f84badf27b66dbadec9890646ca1193e998505;hp=6b36fb30dbd281802d0197fd4bfaee09b8602917;hpb=88f9350ae6a506cf453d15d3bd1ed38cb1baf2b3;p=senf.git diff --git a/Socket/Protocols/Raw/TunTapSocketHandle.cc b/Socket/Protocols/Raw/TunTapSocketHandle.cc index 6b36fb3..f2be645 100644 --- a/Socket/Protocols/Raw/TunTapSocketHandle.cc +++ b/Socket/Protocols/Raw/TunTapSocketHandle.cc @@ -1,9 +1,9 @@ // $Id$ // -// Copyright (C) 2006 +// Copyright (C) 2008 // Fraunhofer Institute for Open Communication Systems (FOKUS) // Competence Center NETwork research (NET), St. Augustin, GERMANY -// Stefan Bund +// Thorsten Horstmann // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -39,13 +39,13 @@ #define prefix_ ///////////////////////////////cc.p//////////////////////////////////////// -prefix_ std::string senf::TapSocketProtocol::init_client() +prefix_ void senf::TapSocketProtocol::init_client() const { - return init_client(std::string()); + init_client(std::string()); } -prefix_ std::string senf::TapSocketProtocol::init_client(std::string const & interface_name, bool const NO_PI) +prefix_ void senf::TapSocketProtocol::init_client(std::string const & interface_name, bool NO_PI) const { int f; @@ -61,7 +61,6 @@ prefix_ std::string senf::TapSocketProtocol::init_client(std::string const & int SENF_THROW_SYSTEM_EXCEPTION( "Could not create tap device: ") << ifr.ifr_name << "."; ifaceIndex_ = if_nametoindex(ifr.ifr_name); fd(f); - return ifaceName(); } prefix_ unsigned senf::TapSocketProtocol::available()