git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bb17e9
)
We only want to mark mailslot packets as loopback packets if they are to
author
Richard Sharpe
<sharpe@samba.org>
Wed, 3 Jan 2001 01:25:05 +0000
(
01:25
+0000)
committer
Richard Sharpe
<sharpe@samba.org>
Wed, 3 Jan 2001 01:25:05 +0000
(
01:25
+0000)
the DGRAM_PORT, since we want to actually send those to other ports.
They might be for the client library running on the Samba server!
(This used to be commit
05e2dd5e85d4aca1ccb9f6991e1415f85cbbdc1a
)
source3/nmbd/nmbd_packets.c
patch
|
blob
|
history
diff --git
a/source3/nmbd/nmbd_packets.c
b/source3/nmbd/nmbd_packets.c
index 8bd9d2761ffb5bd768681fe47454821d3ad49095..8b1029856119541051e0e3bea3bd58c38ac4628e 100644
(file)
--- a/
source3/nmbd/nmbd_packets.c
+++ b/
source3/nmbd/nmbd_packets.c
@@
-1902,7
+1902,7
@@
BOOL send_mailslot(BOOL unique, char *mailslot,char *buf,int len,
memset((char *)&p,'\0',sizeof(p));
- if(ismyip(dest_ip)
)
+ if(ismyip(dest_ip)
&& (dest_port == DGRAM_PORT)) /* Only if to DGRAM_PORT */
loopback_this_packet = True;
/* generate_name_trn_id(); */ /* Not used, so gone, RJS */