diff options
author | Richard Sharpe <sharpe@samba.org> | 2001-01-05 13:35:53 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@samba.org> | 2001-01-05 13:35:53 +0000 |
commit | ec755709fb4d3a40360d244b92f5cb036ebb37cf (patch) | |
tree | b19de1b2b4d92354b893be8c6227242c4d36bc03 /source/nmbd | |
parent | 2df44549efaf245e73235496028e2cea1ed11b96 (diff) | |
download | samba-ec755709fb4d3a40360d244b92f5cb036ebb37cf.tar.gz samba-ec755709fb4d3a40360d244b92f5cb036ebb37cf.tar.xz samba-ec755709fb4d3a40360d244b92f5cb036ebb37cf.zip |
Make sure that anyone sending poret 138 requests can get replies if the
server is on the same machine as the client.
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 50193d53395..e26d7f1b166 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 == 138) /* FIXME, change from constant */ loopback_this_packet = True; generate_name_trn_id(); |