From e2eac352b1c6534031ad89a5565d3668833a2bf1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 10 Jun 1996 03:38:08 +0000 Subject: updates from Luke to rename "domains" more accurately to "subnets" (This used to be commit 0a044c25abc363d8b202ff5d148259d624b92ea7) --- source3/nmbsync.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/nmbsync.c') diff --git a/source3/nmbsync.c b/source3/nmbsync.c index c9e0dfc462..44698762d4 100644 --- a/source3/nmbsync.c +++ b/source3/nmbsync.c @@ -55,7 +55,7 @@ char *getsmbpass(char *pass) /**************************************************************************** adds information retrieved from a NetServerEnum call ****************************************************************************/ -static BOOL add_info(struct domain_record *d, struct work_record *work, int servertype) +static BOOL add_info(struct subnet_record *d, struct work_record *work, int servertype) { char *rparam = NULL; char *rdata = NULL; @@ -112,7 +112,7 @@ static BOOL add_info(struct domain_record *d, struct work_record *work, int serv /* creates workgroup on remote subnet */ if ((w = find_workgroupstruct(d,sname, True))) { - if (ismybcast(d->bcast_ip)) + if (d->my_interface) { announce_request(w, d->bcast_ip); } @@ -141,7 +141,7 @@ static BOOL add_info(struct domain_record *d, struct work_record *work, int serv void sync_browse_lists(struct work_record *work, char *name, int nm_type, struct in_addr ip) { - struct domain_record *d; + struct subnet_record *d; pid = getpid(); uid = getuid(); gid = getgid(); -- cgit