Save blockpriv, bogons spoofmac and mtu settings

This commit is contained in:
Scott Ullrich 2005-07-14 03:57:23 +00:00
parent 5dc666d8f7
commit 2dfb79a48b

View File

@ -159,6 +159,11 @@ if ($_POST) {
$optcfg['dhcphostname'] = $_POST['dhcphostname'];
}
$optcfg['blockpriv'] = $_POST['blockpriv'] ? true : false;
$optcfg['blockbogons'] = $_POST['blockbogons'] ? true : false;
$optcfg['spoofmac'] = $_POST['spoofmac'];
$optcfg['mtu'] = $_POST['mtu'];
write_config();
$retval = 0;