From 1504b0a77d3c3bbc82f8e47b6b6fd202a92f0f46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 14 Jun 2007 17:15:09 +0000 Subject: [PATCH] Apparently, BONE's management ioctl's only work on datagram sockets... This should be retested on R5 to make sure it'll still work there. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21413 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../userlandfs/r5/src/test/netfs/shared/NetAddress.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/shared/NetAddress.cpp b/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/shared/NetAddress.cpp index a3ac10f433..3d8daa0a11 100644 --- a/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/shared/NetAddress.cpp +++ b/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/shared/NetAddress.cpp @@ -90,7 +90,7 @@ NetAddress::IsLocal() const return false; } // create a socket and try to bind it to a port of this address - int fd = socket(AF_INET, SOCK_STREAM, 0); + int fd = socket(AF_INET, SOCK_DGRAM, 0); if (fd < 0) return false; #if defined(HAIKU_TARGET_PLATFORM_DANO) || defined(HAIKU_TARGET_PLATFORM_DANO)