diff options
author | Richard Sharpe <sharpe@samba.org> | 2001-01-03 01:25:05 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@samba.org> | 2001-01-03 01:25:05 +0000 |
commit | 79ad1926d06dd1241c11b3788daff27dbd1000b1 (patch) | |
tree | 10a915d2d5002be000e2241110390186fd40d34a /source3/nmbd | |
parent | 8bb17e9de5d8ceca7051d4cd5dabd7447ff68390 (diff) | |
download | samba-79ad1926d06dd1241c11b3788daff27dbd1000b1.tar.gz samba-79ad1926d06dd1241c11b3788daff27dbd1000b1.tar.bz2 samba-79ad1926d06dd1241c11b3788daff27dbd1000b1.zip |
We only want to mark mailslot packets as loopback packets if they are to
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)
Diffstat (limited to 'source3/nmbd')
-rw-r--r-- | source3/nmbd/nmbd_packets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_packets.c b/source3/nmbd/nmbd_packets.c index 8bd9d2761f..8b10298561 100644 --- 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 */ |