diff options
author | Andrew Tridgell <tridge@samba.org> | 1996-06-10 03:38:08 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1996-06-10 03:38:08 +0000 |
commit | e2eac352b1c6534031ad89a5565d3668833a2bf1 (patch) | |
tree | 0a5c5929cb151c2e5528bf6b1cc13c4f84ddfaee /source3/nmbsync.c | |
parent | 97c01f6114c3151ecb69d350620dedfc521e5ee1 (diff) | |
download | samba-e2eac352b1c6534031ad89a5565d3668833a2bf1.tar.gz samba-e2eac352b1c6534031ad89a5565d3668833a2bf1.tar.bz2 samba-e2eac352b1c6534031ad89a5565d3668833a2bf1.zip |
updates from Luke to rename "domains" more accurately to "subnets"
(This used to be commit 0a044c25abc363d8b202ff5d148259d624b92ea7)
Diffstat (limited to 'source3/nmbsync.c')
-rw-r--r-- | source3/nmbsync.c | 6 |
1 files changed, 3 insertions, 3 deletions
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(); |