ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/device-linux.C
(Generate patch)

Comparing gvpe/src/device-linux.C (file contents):
Revision 1.15 by pcg, Fri Apr 8 16:48:16 2005 UTC vs.
Revision 1.17 by pcg, Sat Nov 10 05:14:22 2007 UTC

14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details. 15 GNU General Public License for more details.
16 16
17 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
18 along with gvpe; if not, write to the Free Software 18 along with gvpe; if not, write to the Free Software
19 Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20*/ 20*/
21 21
22#include "config.h" 22#include "config.h"
23 23
24#include <cstdio> 24#include <cstdio>
65 65
66tap_device::tap_device () 66tap_device::tap_device ()
67{ 67{
68 struct ifreq ifr; 68 struct ifreq ifr;
69 69
70 device = DEFAULT_DEVICE; 70 device = (char *)DEFAULT_DEVICE;
71 71
72 fd = open (device, O_RDWR); 72 fd = open (device, O_RDWR);
73 73
74 if (fd < 0) 74 if (fd < 0)
75 { 75 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines