From b1228b7dcf5257534109fdaefb40c67645bc2a4a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 8 Jun 1996 04:36:25 +0000 Subject: moved MSBROWSE into nameserv.h (This used to be commit 90fa15c45f1859306dc3ceb47bb0bb3452490227) --- source3/namedb.c | 7 +++---- 1 file 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); -- cgit