From ec755709fb4d3a40360d244b92f5cb036ebb37cf Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Fri, 5 Jan 2001 13:35:53 +0000 Subject: Make sure that anyone sending poret 138 requests can get replies if the server is on the same machine as the client. --- source/nmbd/nmbd_packets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit