summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
authorBjörn Geiger2011-08-17 21:19:04 +0200
committerBjörn Geiger2011-08-17 21:19:04 +0200
commit6569600da6b4681db1c7e218f9a9747d933e8468 (patch)
tree3612f43f416a2fcaba9b5ccdad3035e5265b7527 /application/controllers
parenterzeugte BootMenus, Filter und Filterentries werden als XML zurückgegeben (diff)
downloadpbs2-6569600da6b4681db1c7e218f9a9747d933e8468.tar.gz
pbs2-6569600da6b4681db1c7e218f9a9747d933e8468.tar.xz
pbs2-6569600da6b4681db1c7e218f9a9747d933e8468.zip
Client nun mit ip bzw. ip6
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/ResourceController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/controllers/ResourceController.php b/application/controllers/ResourceController.php
index 6dd3923..a6d4cc7 100644
--- a/application/controllers/ResourceController.php
+++ b/application/controllers/ResourceController.php
@@ -944,6 +944,8 @@ class ResourceController extends Zend_Controller_Action
$xml .= "\t\t\t\t\t<clientID>" . $client->getID() . "</clientID>\n";
$xml .= "\t\t\t\t\t<groupID>" . $client->getGroupID() . "</groupID>\n";
$xml .= "\t\t\t\t\t<macadress>" . $client->getMacadress() . "</macadress>\n";
+ $xml .= "\t\t\t\t\t<ip>" . $client->getIp() . "</ip>\n";
+ $xml .= "\t\t\t\t\t<ip6>" . $client->getIp6() . "</ip6>\n";
$xml .= "\t\t\t\t\t<hardwarehash>" . $client->getHardwarehash() . "</hardwarehash>\n";
$xml .= "\t\t\t\t\t<created>" . $client->getCreated() . "</created>\n";
$xml .= "\t\t\t\t</client>\n";