Renamed interface_id to ppp_interface_id.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6160 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Waldemar Kornewald
2004-01-19 22:48:52 +00:00
parent 6cfb4dcac2
commit aac3d01fac
+5 -5
View File
@@ -1,9 +1,9 @@
//----------------------------------------------------------------------
//-----------------------------------------------------------------------
// This software is part of the OpenBeOS distribution and is covered
// by the OpenBeOS license.
//
// Copyright (c) 2003 Waldemar Kornewald, [email protected]
//---------------------------------------------------------------------
// Copyright (c) 2003-2004 Waldemar Kornewald, [email protected]
//-----------------------------------------------------------------------
#include <cstdio>
#include <cstdlib>
@@ -83,7 +83,7 @@ show(ppp_interface_filter filter = PPP_REGISTERED_INTERFACES)
}
int32 count;
interface_id *interfaces = manager.Interfaces(&count, filter);
ppp_interface_id *interfaces = manager.Interfaces(&count, filter);
if(!interfaces) {
fprintf(stderr, "Error: Could not get interfaces information!\n");
@@ -296,7 +296,7 @@ delete_interface(const char *name)
return -1;
}
interface_id interface;
ppp_interface_id interface;
if(!strncmp(name, "ppp", 3) && strlen(name) > 3 && isdigit(name[3]))
interface = manager.InterfaceWithUnit(atoi(name + 3));