Remove /dev/net/stack entry skip, as we don't have such entry anymore
since long ago already. Keep the userland_server one, because, maybe, one day... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39575 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
384fe02234
commit
37426cbf26
@ -120,7 +120,7 @@ ethernet_init(const char *name, net_device **_device)
|
||||
{
|
||||
// make sure this is a device in /dev/net, but not the
|
||||
// networking (userland) stack driver
|
||||
if (strncmp(name, "/dev/net/", 9) || !strcmp(name, "/dev/net/stack")
|
||||
if (strncmp(name, "/dev/net/", 9)
|
||||
|| !strcmp(name, "/dev/net/userland_server"))
|
||||
return B_BAD_VALUE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user