dns/rfc2136: fix previous, mea culpa

This commit is contained in:
Franco Fichtner
2024-08-29 17:39:53 +02:00
parent a5b4227c84
commit fc23a1a576
4 changed files with 4 additions and 3 deletions
+1
View File
@@ -1,5 +1,6 @@
PLUGIN_NAME= rfc2136
PLUGIN_VERSION= 1.9
PLUGIN_REVISION= 1
PLUGIN_COMMENT= RFC-2136 Support
PLUGIN_MAINTAINER= franco@opnsense.org
PLUGIN_DEPENDS= bind-tools
@@ -34,7 +34,7 @@ function rfc2136_configure()
return [
'bootup' => ['rfc2136_configure_do'],
'local' => ['rfc2136_configure_do'],
'newwanip_map' => ['rfc2136_configure_map:2'],
'newwanip_map' => ['rfc2136_configure_do:2'],
];
}
+1 -1
View File
@@ -54,7 +54,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
write_config();
system_cron_configure();
if (!empty($a_rfc2136[$_POST['id']]['enable'])) {
rfc2136_configure_do(false, '', $a_rfc2136[$_POST['id']]['host'], true);
rfc2136_configure_do(false, null, $a_rfc2136[$_POST['id']]['host'], true);
}
}
exit;
@@ -122,7 +122,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
system_cron_configure();
if (!empty($pconfig['force'])) {
rfc2136_configure_do(false, '', $rfc2136['host'], true);
rfc2136_configure_do(false, null, $rfc2136['host'], true);
}
header(url_safe('Location: /services_rfc2136.php'));