diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-01-05 01:48:30 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-01-05 01:48:30 +0000 |
commit | 437c68b5fe4905f7420c9d1d1173f025b6a9c154 (patch) | |
tree | 5c36b9ba298b2b212b47cc82e1dccb4100a28063 | |
parent | 794aafe349fb37e75630a7fca8da7a1cfe6f4c40 (diff) | |
download | samba-437c68b5fe4905f7420c9d1d1173f025b6a9c154.tar.gz samba-437c68b5fe4905f7420c9d1d1173f025b6a9c154.tar.bz2 samba-437c68b5fe4905f7420c9d1d1173f025b6a9c154.zip |
use a minimal hash size in the unexpected packet database. A large
hash is only useful when we fetch by key, not when we use
tdb_traverse()
(This used to be commit e154f041e8ec8b1097d4a0c727c68d217effba34)
-rw-r--r-- | source3/libsmb/unexpected.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/unexpected.c b/source3/libsmb/unexpected.c index 5106ef60f7..b210fb2504 100644 --- a/source3/libsmb/unexpected.c +++ b/source3/libsmb/unexpected.c @@ -49,7 +49,7 @@ void unexpected_packet(struct packet_struct *p) int len=0; if (!tdb) { - tdb = tdb_open(lock_path("unexpected.tdb"), 0, + tdb = tdb_open(lock_path("unexpected.tdb"), 1, TDB_CLEAR_IF_FIRST, O_RDWR | O_CREAT, 0644); if (!tdb) { |