diff options
author | Robert Nelson <robertn@the-nelsons.org> | 2015-03-26 11:48:54 -0700 |
---|---|---|
committer | Robert Nelson <robertn@the-nelsons.org> | 2015-03-26 11:48:54 -0700 |
commit | ea08d2b204daad5a89a7acb1045b11570d4127b2 (patch) | |
tree | b4fae4a5236a8ad709883629f329e8c92aa48e5d /usr | |
parent | 7db3d1c74348eed28cc84587bbd85c8c9a59261d (diff) | |
download | pfsense-ea08d2b204daad5a89a7acb1045b11570d4127b2.zip pfsense-ea08d2b204daad5a89a7acb1045b11570d4127b2.tar.gz |
Change to Record Type with A and AAAA as values.
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/services_rfc2136_edit.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usr/local/www/services_rfc2136_edit.php b/usr/local/www/services_rfc2136_edit.php index 8e0b351..ffe446b 100644 --- a/usr/local/www/services_rfc2136_edit.php +++ b/usr/local/www/services_rfc2136_edit.php @@ -60,9 +60,9 @@ if (isset($id) && isset($a_rfc2136[$id])) { $pconfig['interface'] = $a_rfc2136[$id]['interface']; $pconfig['usetcp'] = isset($a_rfc2136[$id]['usetcp']); $pconfig['usepublicip'] = isset($a_rfc2136[$id]['usepublicip']); - $pconfig['addresstypes'] = $a_rfc2136[$id]['addresstypes']; - if (!$pconfig['addresstypes']) - $pconfig['addresstypes'] = "both"; + $pconfig['recordtype'] = $a_rfc2136[$id]['recordtype']; + if (!$pconfig['recordtype']) + $pconfig['recordtype'] = "both"; $pconfig['descr'] = $a_rfc2136[$id]['descr']; } @@ -98,7 +98,7 @@ if ($_POST) { $rfc2136['server'] = $_POST['server']; $rfc2136['usetcp'] = $_POST['usetcp'] ? true : false; $rfc2136['usepublicip'] = $_POST['usepublicip'] ? true : false; - $rfc2136['addresstypes'] = $_POST['addresstypes']; + $rfc2136['recordtype'] = $_POST['recordtype']; $rfc2136['interface'] = $_POST['interface']; $rfc2136['descr'] = $_POST['descr']; @@ -209,11 +209,11 @@ include("head.inc"); </td> </tr> <tr> - <td valign="top" class="vncellreq"><?=gettext("Address Types");?> </td> + <td valign="top" class="vncellreq"><?=gettext("Record Type");?> </td> <td class="vtable"> - <input name="addresstypes" type="radio" value="ipv4" <?php if ($pconfig['addresstypes'] == "ipv4") echo "checked=\"checked\""; ?> /> <?=gettext("IPv4");?> - <input name="addresstypes" type="radio" value="ipv6" <?php if ($pconfig['addresstypes'] == "ipv6") echo "checked=\"checked\""; ?> /> <?=gettext("IPv6");?> - <input name="addresstypes" type="radio" value="both" <?php if ($pconfig['addresstypes'] == "both") echo "checked=\"checked\""; ?> /> <?=gettext("Both");?> + <input name="recordtype" type="radio" value="A" <?php if ($pconfig['recordtype'] == "A") echo "checked=\"checked\""; ?> /> <?=gettext("A (IPv4)");?> + <input name="recordtype" type="radio" value="AAAA" <?php if ($pconfig['recordtype'] == "AAAA") echo "checked=\"checked\""; ?> /> <?=gettext("AAAA (IPv6)");?> + <input name="recordtype" type="radio" value="both" <?php if ($pconfig['recordtype'] == "both") echo "checked=\"checked\""; ?> /> <?=gettext("Both");?> </td> </tr> <tr> |