Blind coded a edit page for IPv6. the subnet check needs to be written entirely. Checking if the IP address falls within the v6 subnet isn't so hard, what is harder is making sure that the ip does not fall within the dynamic subnet. For that we need proper subnet math calculus. Which we don't have yet.

This commit is contained in:
Seth Mos 2011-03-03 21:30:06 +01:00
parent 11085d2abc
commit 4e8e7662c0

View File

@ -848,7 +848,7 @@ include("head.inc");
<?=htmlspecialchars($mapent['mac']);?>
</td>
<td class="listr" ondblclick="document.location='services_dhcpv6_edit.php?if=<?=$if;?>&id=<?=$i;?>';">
<?=htmlspecialchars($mapent['ipaddr']);?>&nbsp;
<?=htmlspecialchars($mapent['ipaddrv6']);?>&nbsp;
</td>
<td class="listr" ondblclick="document.location='services_dhcpv6_edit.php?if=<?=$if;?>&id=<?=$i;?>';">
<?=htmlspecialchars($mapent['hostname']);?>&nbsp;