summaryrefslogtreecommitdiff
path: root/source3/namedb.c
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1996-07-07 13:29:56 +0000
committerSamba Release Account <samba-bugs@samba.org>1996-07-07 13:29:56 +0000
commit3545a9b8734bfabdff760253dd73216aad25b925 (patch)
tree05a2129bc6445b3b8cc190db3a5854e2a934b552 /source3/namedb.c
parentb338bce94f47780c74b2db3608a767c5b957b61a (diff)
downloadsamba-3545a9b8734bfabdff760253dd73216aad25b925.tar.gz
samba-3545a9b8734bfabdff760253dd73216aad25b925.tar.bz2
samba-3545a9b8734bfabdff760253dd73216aad25b925.zip
added the recently shuffled and updated source files missed in the
previous commit (see previous log message for details) fixed bug in nameservreply.c: wrong macro in use (RSSVAL not IVAL!). did another make proto lkcl (This used to be commit d78b319062144d14a54408fce77ccc313ad58ee3)
Diffstat (limited to 'source3/namedb.c')
-rw-r--r--source3/namedb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/namedb.c b/source3/namedb.c
index 305dfb4476..96f64393c7 100644
--- a/source3/namedb.c
+++ b/source3/namedb.c
@@ -148,7 +148,7 @@ static struct work_record *make_workgroup(char *name)
expire old servers in the serverlist
time of -1 indicates everybody dies
******************************************************************/
-static void remove_old_servers(struct work_record *work, time_t t)
+void remove_old_servers(struct work_record *work, time_t t)
{
struct server_record *s;
struct server_record *nexts;
@@ -270,7 +270,7 @@ struct work_record *find_workgroupstruct(struct subnet_record *d,
inet_ntoa(d->bcast_ip)));
queue_netbios_pkt_wins(d,ClientNMB,NMB_QUERY, NAME_QUERY_FIND_MST,
MSBROWSE,0x1,0,0,
- True,False, d->bcast_ip);
+ True,False, d->bcast_ip, d->bcast_ip);
return NULL;
}