diff options
author | Taylor Lanclos <tlanclos@live.com> | 2014-08-13 20:17:28 -0500 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-08-27 08:11:13 -0300 |
commit | db79d14f7e6ec96d8b1572cb4dd8c47114b969e1 (patch) | |
tree | 96ec731da6a35d805ebda4e0eb330509b119936d /config/bind/bind_zones.xml | |
parent | 83bbe4c94916a7c57306e9b44a76893179b1a03d (diff) | |
download | pfsense-packages-db79d14f7e6ec96d8b1572cb4dd8c47114b969e1.tar.gz pfsense-packages-db79d14f7e6ec96d8b1572cb4dd8c47114b969e1.tar.bz2 pfsense-packages-db79d14f7e6ec96d8b1572cb4dd8c47114b969e1.zip |
fixed bind zone journal out of sync issue when updating zone
Diffstat (limited to 'config/bind/bind_zones.xml')
-rw-r--r-- | config/bind/bind_zones.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/bind/bind_zones.xml b/config/bind/bind_zones.xml index 24c3b99e..d771ada6 100644 --- a/config/bind/bind_zones.xml +++ b/config/bind/bind_zones.xml @@ -432,7 +432,7 @@ <custom_php_command_before_form> </custom_php_command_before_form> <custom_php_validation_command> - if ($_POST['type']=="master") + if ($_POST['type']=="master" and $_POST['serial']=="") $_POST['serial']=(date("U")+ 1000000000); bind_zone_validate($_POST, $input_errors); </custom_php_validation_command> |