mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
s4:libcli/dgram: let the generic incoming handler also get unexpected mailslot messages
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15620 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
cca373b806
commit
11861bcfc3
@ -90,6 +90,10 @@ static void dgm_socket_recv(struct nbt_dgram_socket *dgmsock)
|
||||
dgmslot->handler(dgmslot, packet, src);
|
||||
} else {
|
||||
DEBUG(2,("No mailslot handler for '%s'\n", mailslot_name));
|
||||
/* dispatch if there is a general handler */
|
||||
if (dgmsock->incoming.handler) {
|
||||
dgmsock->incoming.handler(dgmsock, packet, src);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
/* dispatch if there is a general handler */
|
||||
|
Loading…
Reference in New Issue
Block a user