summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-06-08 04:36:25 +0000
committerAndrew Tridgell <tridge@samba.org>1996-06-08 04:36:25 +0000
commitb1228b7dcf5257534109fdaefb40c67645bc2a4a (patch)
treeba14f2364cf3d6e24fad32342efa6de44ef488fb
parentf78081fd1fb4f5739264e23cf75c3e5b1c2eebf1 (diff)
downloadsamba-b1228b7dcf5257534109fdaefb40c67645bc2a4a.tar.gz
samba-b1228b7dcf5257534109fdaefb40c67645bc2a4a.tar.bz2
samba-b1228b7dcf5257534109fdaefb40c67645bc2a4a.zip
moved MSBROWSE into nameserv.h
(This used to be commit 90fa15c45f1859306dc3ceb47bb0bb3452490227)
-rw-r--r--source3/namedb.c7
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);