summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_rfc2136_edit.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-07-02 16:15:03 -0400
committerjim-p <jimp@pfsense.org>2013-07-02 16:58:03 -0400
commit7c9da7be0c52a5838302fb9b3f89ddfdebfc2f82 (patch)
tree6570597ccc8d23349177e4dac6775723fc745747 /usr/local/www/services_rfc2136_edit.php
parentbdba4fa76214dc8c73e679f6da1d346d1e77b4b2 (diff)
downloadpfsense-7c9da7be0c52a5838302fb9b3f89ddfdebfc2f82.zip
pfsense-7c9da7be0c52a5838302fb9b3f89ddfdebfc2f82.tar.gz
Add cached IP support to RFC2136, add GUI button to force update for single host.
Diffstat (limited to 'usr/local/www/services_rfc2136_edit.php')
-rw-r--r--usr/local/www/services_rfc2136_edit.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr/local/www/services_rfc2136_edit.php b/usr/local/www/services_rfc2136_edit.php
index e5b36d6..091cfbd 100644
--- a/usr/local/www/services_rfc2136_edit.php
+++ b/usr/local/www/services_rfc2136_edit.php
@@ -99,7 +99,10 @@ if ($_POST) {
write_config(gettext("New/Edited RFC2136 dnsupdate entry was posted."));
- $retval = services_dnsupdate_process();
+ if ($_POST['Submit'] == gettext("Save & Force Update"))
+ $retval = services_dnsupdate_process("", $rfc2136['host'], true);
+ else
+ $retval = services_dnsupdate_process();
header("Location: services_rfc2136.php");
exit;
@@ -197,8 +200,9 @@ include("head.inc");
<tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
- <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>" onClick="enable_change(true)">
+ <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>" onClick="enable_change(true)">
<a href="services_rfc2136.php"><input name="Cancel" type="button" class="formbtn" value="<?=gettext("Cancel");?>"></a>
+ <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save & Force Update");?>" onClick="enable_change(true)">
<?php if (isset($id) && $a_rfc2136[$id]): ?>
<input name="id" type="hidden" value="<?=htmlspecialchars($id);?>">
<?php endif; ?>
OpenPOWER on IntegriCloud