[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] hobbit show devmon's community string in "info" page
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] hobbit show devmon's community string in "info" page
- From: henrik (at) hswn.dk (Henrik Stoerner)
- Date: Wed, 22 Aug 2007 15:41:43 +0200
- References: <BAY138-F32819A96FA9FA63E99F73A9FD50 (at) phx.gbl>
- User-agent: Mutt/1.5.13 (2006-08-11)
On Wed, Aug 22, 2007 at 07:53:49AM -0500, T.J. Yang wrote:
> Is there anyway to hide this information from hobbit server showing this
> community information ?
>
> It is showing like following under "info" for a host with devmon enabled.
>
> Other tags: DEVMON:cid(mypassword)
Patch attached.
Henrik
--- web/hobbitsvc-info.c 2007/07/26 21:17:06 1.119
+++ web/hobbitsvc-info.c 2007/08/22 13:40:52
@@ -981,7 +981,8 @@
(strncmp(val, "post;", 5) != 0) &&
(strncmp(val, "post=", 5) != 0) &&
(strncmp(val, "nopost=", 7) != 0) &&
- (strncmp(val, "nopost;", 7) != 0) ) {
+ (strncmp(val, "nopost;", 7) != 0) &&
+ (strncmp(val, "DEVMON:", 7) != 0) ) {
sprintf(l, "%s ", val);
addtobuffer(infobuf, l);
}