summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2001-01-02 14:24:46 +0000
committerRichard Sharpe <sharpe@samba.org>2001-01-02 14:24:46 +0000
commit842589582bd8a1f631665d1410096f4571371643 (patch)
tree28bc2e373bf729e4d6ae08ae7a64622826eefa16 /source3/nmbd
parent39f0f1120faef0d8d2bf37ea14c7113f08975147 (diff)
downloadsamba-842589582bd8a1f631665d1410096f4571371643.tar.gz
samba-842589582bd8a1f631665d1410096f4571371643.tar.bz2
samba-842589582bd8a1f631665d1410096f4571371643.zip
Make the use of generate_name_trn_id conform to the usage elsewhere ...
(This used to be commit 46a3a56ecf411eb885aee2892e12d3846ce32ad6)
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd_packets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_packets.c b/source3/nmbd/nmbd_packets.c
index c16777ff41..8bd9d2761f 100644
--- a/source3/nmbd/nmbd_packets.c
+++ b/source3/nmbd/nmbd_packets.c
@@ -1912,7 +1912,7 @@ BOOL send_mailslot(BOOL unique, char *mailslot,char *buf,int len,
dgram->header.flags.node_type = M_NODE;
dgram->header.flags.first = True;
dgram->header.flags.more = False;
- dgram->header.dgm_id = name_trn_id;
+ dgram->header.dgm_id = generate_name_trn_id();
dgram->header.source_ip = src_ip;
dgram->header.source_port = DGRAM_PORT;
dgram->header.dgm_length = 0; /* Let build_dgram() handle this. */