git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cca373b
)
s4:libcli/dgram: let the generic incoming handler also get unexpected mailslot messages
author
Stefan Metzmacher
<metze@samba.org>
Thu, 15 Feb 2024 15:42:16 +0000
(16:42 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 5 Apr 2024 12:24:41 +0000
(12:24 +0000)
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>
source4/libcli/dgram/dgramsocket.c
patch
|
blob
|
history
diff --git
a/source4/libcli/dgram/dgramsocket.c
b/source4/libcli/dgram/dgramsocket.c
index 154a6670948279d4ab7ef723d8416ac71ee72777..dc5dd796bc0f8716876d5fb50a7bab8c291ea890 100644
(file)
--- a/
source4/libcli/dgram/dgramsocket.c
+++ b/
source4/libcli/dgram/dgramsocket.c
@@
-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 */