1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

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 commit is contained in:
Richard Sharpe 0001-01-01 00:00:00 +00:00
parent 9255e52624
commit 05e2dd5e85

View File

@ -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 */