From 1073bd65414d1e436e833c2e32bed129c72e1910 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 20 Aug 1996 16:09:41 +0000 Subject: - 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) --- source3/namedbsubnet.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/namedbsubnet.c') 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))); } -- cgit