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 | 05e2dd5e85d4aca1ccb9f6991e1415f85cbbdc1a (patch) | |
tree | df38e9d5028d53e968955d522c0240982ba6b3de /source/nmbd | |
parent | 9255e526244578e092abc306491d5862469da775 (diff) | |
download | samba-05e2dd5e85d4aca1ccb9f6991e1415f85cbbdc1a.tar.gz |
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!
Diffstat (limited to 'source/nmbd')
-rw-r--r-- | source/nmbd/nmbd_packets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nmbd/nmbd_packets.c b/source/nmbd/nmbd_packets.c index 8bd9d2761ff..8b102985611 100644 --- a/source/nmbd/nmbd_packets.c +++ b/source/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 */ |