summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4bc475e)
raw | patch | inline | side by side (parent: 4bc475e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 2 Oct 2008 11:36:39 +0000 (11:36 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 2 Oct 2008 11:36:39 +0000 (11:36 +0000) |
-Target was added automatically, added option to avoid this.
exi();
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12593 594d385d-05f5-0310-b6e9-bd551577e9d8
exi();
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12593 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_gosaSupportDaemon.inc | patch | blob | history |
diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc
index 23f6b3518794db2f1eadff308636226d1975e871..9b5a6ac83b1d92aa53639d4f276bbdde6c6d6cb6 100644 (file)
protected $use_alternative_xml_parse_method = FALSE;
+ public function get_host()
+ {
+ return($this->s_host);
+ }
+
+ public function get_port()
+ {
+ return($this->i_port);
+ }
+
/*! \brief Creates a new gosaSupportDaemon object.
@param string Host The Host where the daemon is running on.
@param integer Port The port which the daemon use.
/* Allows simply appending a new DaemonEvent
*/
- public function append($event)
+ public function append($event, $skip_add_mac = FALSE)
{
if(!($event instanceof DaemonEvent)){
return(FALSE);
/* Append an entry for each target
*/
foreach($targets as $target){
- $data['macaddress'] = $target;
+ if(!$skip_add_mac){
+ $data['macaddress'] = $target;
+ }
$this->send_data($action,$target,$data,$request_answer);
if($this->is_error()){