ajaxDhcpGetSubnetFreeIp.php

Go to the documentation of this file.
00001 <?
00025 require("modules/network/includes/network-xmlrpc.inc.php");
00026 
00027 $zone = $_GET["zone"];
00028 $subnet = $_GET["subnet"];
00029 $current = $_GET["current"];
00030 
00031 if ($zone) {
00032     /* We lookup an IP address available in the subnet and its corresponding zone */
00033     print getSubnetAndZoneFreeIp($subnet, $zone, $current);
00034 } else {
00035     /* We only lookup an IP address available in the subnet */
00036     print getSubnetFreeIp($subnet, $current);
00037 }
00038 
00039 ?>

Generated on Tue May 4 11:47:32 2010 for MMC web interface by  doxygen 1.5.8