remove obsolete code

This commit is contained in:
Roland Gruber 2008-12-30 15:45:13 +00:00
parent bd39b2cf9f
commit f561035c87
1 changed files with 0 additions and 22 deletions

View File

@ -338,28 +338,6 @@ By default, the nodes are configured as H-Nodes which fits for small networks. I
$attr['dhcpOption'] = array(); $attr['dhcpOption'] = array();
} }
// Alles aus den DDNS Bereich löschen:
/*if (!is_array($attr['dhcpStatements'])) {
$attr['dhcpStatements'] = array();
}
foreach($attr['dhcpStatements'] AS $index=>$value) {
$ex = explode(" ", $value);
if ($ex[0]=="ignore") {
unset($attr['dhcpStatements'][$index]);
}
if ($ex[0]=="include") {
unset($attr['dhcpStatements'][$index]);
}
if ($ex[0]=="ddns-update-style") {
unset($attr['dhcpStatements'][$index]);
}
if ($ex[0]=="update-static-leases") {
unset($attr['dhcpStatements'][$index]);
}
}
*/
if (count($attr['dhcpStatements']) == 0) { if (count($attr['dhcpStatements']) == 0) {
unset($attr['dhcpStatements']); unset($attr['dhcpStatements']);
} }