[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ossec-cvs] ossec-hids: os_lib_agent.php (HEAD) [davelowe]



Module name:	ossec-hids
Changes by:	davelowe	07/08/09 06:55:46

Modified files:
	os_lib_agent.php

Log message:
Description: Search Page checkin
Reviewed by: DL
Bug:
Description:
Bug:

Index: os_lib_agent.php
===================================================================
RCS file: /usr/cvsroot/ossec-ui/ossec/Lib/os_lib_agent.php,v
diff -u -r1.1 -r1.2
--- os_lib_agent.php	5 Jul 2007 02:05:07 -0000	1.1
+++ os_lib_agent.php	9 Aug 2007 09:55:45 -0000	1.2
@@ -48,6 +48,8 @@
     // OSSEC Server Information
     $agent_list[$agent_count]{'change_time'} = time();;
     $agent_list[$agent_count]{'name'} = `uname -n`; // Hostname
+    #$agent_list[$agent_count]{'name'} = 
+    #    gethostbyaddr (gethostbyname ($_SERVER["SERVER_NAME"]));
     $agent_list[$agent_count]{'ip'} = "127.0.0.1";
     $agent_list[$agent_count]{'os'} = `uname -a`;
     $agent_list[$agent_count]{'connected'} = 1;


OSSEC home | Main Index | Thread Index


OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.