diff options
author | Robert Nelson <robertn@the-nelsons.org> | 2015-03-26 09:24:23 -0700 |
---|---|---|
committer | Robert Nelson <robertn@the-nelsons.org> | 2015-03-26 09:24:23 -0700 |
commit | 7db3d1c74348eed28cc84587bbd85c8c9a59261d (patch) | |
tree | ca1af3fb18a250c0ffbe97e09ac9663ae24d7b50 /usr | |
parent | ad20e46dcea5234f19a6d9b8dd93dec00b1160ee (diff) | |
download | pfsense-7db3d1c74348eed28cc84587bbd85c8c9a59261d.zip pfsense-7db3d1c74348eed28cc84587bbd85c8c9a59261d.tar.gz |
Use address types instead of addresses.
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 6bb0ebe..8e0b351 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['addresses'] = $a_rfc2136[$id]['addresses']; - if (!$pconfig['addresses']) - $pconfig['addresses'] = "both"; + $pconfig['addresstypes'] = $a_rfc2136[$id]['addresstypes']; + if (!$pconfig['addresstypes']) + $pconfig['addresstypes'] = "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['addresses'] = $_POST['addresses']; + $rfc2136['addresstypes'] = $_POST['addresstypes']; $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 Registration");?> </td> + <td valign="top" class="vncellreq"><?=gettext("Address Types");?> </td> <td class="vtable"> - <input name="addresses" type="radio" value="ipv4" <?php if ($pconfig['addresses'] == "ipv4") echo "checked=\"checked\""; ?> /> <?=gettext("IPv4");?> - <input name="addresses" type="radio" value="ipv6" <?php if ($pconfig['addresses'] == "ipv6") echo "checked=\"checked\""; ?> /> <?=gettext("IPv6");?> - <input name="addresses" type="radio" value="both" <?php if ($pconfig['addresses'] == "both") echo "checked=\"checked\""; ?> /> <?=gettext("Both");?> + <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");?> </td> </tr> <tr> |