summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@dds.nl>2011-08-15 15:54:14 +0200
committerSeth Mos <seth.mos@dds.nl>2011-08-15 15:54:14 +0200
commit20b49b1711627de89e135bfa217288335b6ffce7 (patch)
treef3bb9a09b7bee585c86b5a279e6fa3cb6db94d6b /usr
parente029943a103a2c702e79096921ecfa0ae21ac489 (diff)
downloadpfsense-20b49b1711627de89e135bfa217288335b6ffce7.zip
pfsense-20b49b1711627de89e135bfa217288335b6ffce7.tar.gz
Fix a typo that caused stripping of the v4 config
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 42ee9d4..b5043ce 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -468,8 +468,8 @@ if ($_POST['apply']) {
}
switch(strtolower($_POST['type6'])) {
case "staticv6":
- $reqdfields = explode(" ", "ipaddrv6 subnetv6 gatewayv6 dhcp6-pd-sla-id");
- $reqdfieldsn = array(gettext("IPv6 address"),gettext("Subnet bit count"),gettext("Gateway"));
+ $reqdfields = explode(" ", "ipaddrv6 subnetv6 gatewayv6");
+ $reqdfieldsn = array(gettext("IPv6 address"),gettext("Subnet bit count"),gettext("Gateway")));
do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
break;
case "none":
@@ -1245,7 +1245,7 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
<tr>
<td valign="middle" class="vncell"><strong><?=gettext("IPv4 Configuration Type"); ?></strong></td>
<td class="vtable">
- <select name="" onChange="updateType(this.value);" class="formselect" id="type">
+ <select name="type" onChange="updateType(this.value);" class="formselect" id="type">
<?php
foreach ($types4 as $key => $opt) {
echo "<option onClick=\"updateType('{$key}');\"";
OpenPOWER on IntegriCloud