summaryrefslogtreecommitdiff
path: root/source3/namedbsubnet.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-08-20 16:09:41 +0000
committerAndrew Tridgell <tridge@samba.org>1996-08-20 16:09:41 +0000
commit1073bd65414d1e436e833c2e32bed129c72e1910 (patch)
treeaa84da19084ffe5c3017caa25728e41aae540ea0 /source3/namedbsubnet.c
parentdafaf627c2ed4d3fa76e0a9426dde006cd6cf50c (diff)
downloadsamba-1073bd65414d1e436e833c2e32bed129c72e1910.tar.gz
samba-1073bd65414d1e436e833c2e32bed129c72e1910.tar.bz2
samba-1073bd65414d1e436e833c2e32bed129c72e1910.zip
- removed ServerComment and instead set the comment string in nmbd
using the "server string" option. This replaces the -C option to nmbd (This used to be commit 9e0fab2ee6c89155e6ba6b2401a25de37cb89333)
Diffstat (limited to 'source3/namedbsubnet.c')
-rw-r--r--source3/namedbsubnet.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/namedbsubnet.c b/source3/namedbsubnet.c
index 5c683e5e49..0bad79246a 100644
--- a/source3/namedbsubnet.c
+++ b/source3/namedbsubnet.c
@@ -224,7 +224,6 @@ struct subnet_record *add_subnet_entry(struct in_addr bcast_ip,
(d = make_subnet(bcast_ip, mask_ip)))
{
struct work_record *w = find_workgroupstruct(d, name, add);
- extern pstring ServerComment;
if (!w) return NULL;
@@ -239,7 +238,7 @@ struct subnet_record *add_subnet_entry(struct in_addr bcast_ip,
lmhosts server entries to local interfaces */
if (strequal(lp_workgroup(), name))
{
- add_server_entry(d,w,myname,w->ServerType,0,ServerComment,True);
+ add_server_entry(d,w,myname,w->ServerType,0,lp_serverstring(),True);
DEBUG(3,("Added server name entry %s at %s\n",
name,inet_ntoa(bcast_ip)));
}