diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/namedb.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/namedb.c b/source3/namedb.c index 2868d54ac4..81b6c02048 100644 --- a/source3/namedb.c +++ b/source3/namedb.c @@ -38,6 +38,8 @@ extern time_t StartupTime; extern pstring myname; extern pstring scope; +extern struct in_addr ipgrp; + /* this is our browse master/backup cache database */ struct browse_cache_record *browserlist = NULL; @@ -55,9 +57,6 @@ int workgroup_count = 0; /* unique index key: one for each workgroup */ SV_TYPE_TIME_SOURCE | SV_TYPE_SERVER_UNIX | \ SV_TYPE_PRINTQ_SERVER | SV_TYPE_POTENTIAL_BROWSER) -/* here are my election parameters */ -#define MSBROWSE "\001\002__MSBROWSE__\002" - /**************************************************************************** add a workgroup into the domain list @@ -449,7 +448,7 @@ struct domain_record *add_domain_entry(struct in_addr source_ip, struct domain_record *d; struct in_addr ip; - ip = *interpret_addr2("255.255.255.255"); + ip = ipgrp; if (zero_ip(source_ip)) source_ip = *iface_bcast(source_ip); |