nbt_server: redirect incoming response packets to the correct interface
authorStefan Metzmacher <metze@sernet.de>
Wed, 16 Jan 2008 12:57:50 +0000 (13:57 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 19 Jan 2009 06:05:44 +0000 (07:05 +0100)
commita5b3975cf71f0bf114832c958ba855646c69832c
tree75718b70f2818ed7cdc49a5b26812b74ca6d574e
parentebab6d6ce40ec4d64126964c0223aa2bdef99094
nbt_server: redirect incoming response packets to the correct interface

We may send requests packets (WACK challenges or similar things)
via a different udp socket than the socket we receive the
matching response. We need to setup an unexpected handler
on the nbt sockets and redirect responses to the correct
nbt_socket. (By redirect I mean we use the correct
nbt_socket structure, we're *not* resending the packet
with sendto() via the kernel...)

metze
(from samba4wins tree 7ce8e705e5a9aabb787d17fbec7a078d9d6780dc)
source4/nbt_server/interfaces.c