retrieve the incoming interface on the domain_receive_adapter(). This should fix potential issues with packets addressed to the IP broadcast address, such as in with some DHCP implementations.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20767 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Hugo Santos
2007-04-20 04:40:53 +00:00
parent 40844fe526
commit 8a819b17e4
5 changed files with 7 additions and 8 deletions
+2 -1
View File
@@ -35,7 +35,8 @@ struct net_timer {
};
typedef int32 (*net_deframe_func)(struct net_device *device, struct net_buffer *buffer);
typedef status_t (*net_receive_func)(void *cookie, struct net_buffer *buffer);
typedef status_t (*net_receive_func)(void *cookie, struct net_device *,
struct net_buffer *buffer);
enum {
B_DEVICE_GOING_UP = 1,