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/nameannounce.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source3/nameannounce.c') diff --git a/source3/nameannounce.c b/source3/nameannounce.c index 09aade86ef..5591c5ba19 100644 --- a/source3/nameannounce.c +++ b/source3/nameannounce.c @@ -42,9 +42,6 @@ extern int ClientNMB; /* this is our domain/workgroup/server database */ extern struct subnet_record *subnetlist; -/* machine comment for host announcements */ -extern pstring ServerComment; - extern int updatecount; extern int workgroup_count; @@ -307,7 +304,7 @@ void announce_host(void) pstring comment; char *my_name; - StrnCpy(comment, *ServerComment ? ServerComment : "NoComment", 43); + StrnCpy(comment, lp_serverstring(), 43); my_name = *myname ? myname : "NoName"; -- cgit