summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd_elections.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-08-30 17:04:24 +0000
committerAndrew Tridgell <tridge@samba.org>1998-08-30 17:04:24 +0000
commitab4577f141b0c08a543d998a36892bbafae4e902 (patch)
treea2d62a7f490913d7bc44e55d58db92b6cae0fa0f /source3/nmbd/nmbd_elections.c
parent98b0fafc6132e12bc9b7e39784cb2e221a8a5125 (diff)
downloadsamba-ab4577f141b0c08a543d998a36892bbafae4e902.tar.gz
samba-ab4577f141b0c08a543d998a36892bbafae4e902.tar.bz2
samba-ab4577f141b0c08a543d998a36892bbafae4e902.zip
added a dest_port parameter to send_mailslot() so we send replies to
the correct port in environments like ip masq. (This used to be commit 7d455ee637b6ff70c95845f89d71573ca07b83f3)
Diffstat (limited to 'source3/nmbd/nmbd_elections.c')
-rw-r--r--source3/nmbd/nmbd_elections.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_elections.c b/source3/nmbd/nmbd_elections.c
index 5c85191ec2..cd310639e9 100644
--- a/source3/nmbd/nmbd_elections.c
+++ b/source3/nmbd/nmbd_elections.c
@@ -62,7 +62,7 @@ static void send_election_dgram(struct subnet_record *subrec, char *workgroup_na
send_mailslot(False, BROWSE_MAILSLOT, outbuf, PTR_DIFF(p,outbuf),
global_myname, 0,
workgroup_name, 0x1e,
- subrec->bcast_ip, subrec->myip);
+ subrec->bcast_ip, subrec->myip, DGRAM_PORT);
}
/*******************************************************************