From 4d6c666d227b7f1733df5a9e944280c83a1b8339 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sat, 19 Jul 2008 21:47:03 +0000 Subject: [PATCH] * dropped swapping of addresses when delivering locally via loopback, since that is neither correct (source and destination are ok as they are) nor does it have any effect (since those values are clobbered by the domain module afterwards) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26516 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/network/devices/loopback/loopback.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/add-ons/kernel/network/devices/loopback/loopback.cpp b/src/add-ons/kernel/network/devices/loopback/loopback.cpp index bbfb3b1040..e7578f0f03 100644 --- a/src/add-ons/kernel/network/devices/loopback/loopback.cpp +++ b/src/add-ons/kernel/network/devices/loopback/loopback.cpp @@ -110,8 +110,6 @@ loopback_control(net_device *device, int32 op, void *argument, status_t loopback_send_data(net_device *device, net_buffer *buffer) { - gBufferModule->swap_addresses(buffer); - return sStackModule->device_enqueue_buffer(device, buffer); }