aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2013-10-09 23:12:51 -0300
committerMarcello Coutinho <marcellocoutinho@gmail.com>2013-10-09 23:12:51 -0300
commitf6ab777ce082677fbdb7bb4bd972f347628c556f (patch)
tree750793a1052e9f290497419d7917cbc29f9416d6 /config
parentcefd8a09c4b867cf4a235d7f892c7a8584689dea (diff)
downloadpfsense-packages-f6ab777ce082677fbdb7bb4bd972f347628c556f.tar.gz
pfsense-packages-f6ab777ce082677fbdb7bb4bd972f347628c556f.tar.bz2
pfsense-packages-f6ab777ce082677fbdb7bb4bd972f347628c556f.zip
bind - fix serial number to EPOCH plus magic number to get higher then current 2013xxxx format
Diffstat (limited to 'config')
-rw-r--r--config/bind/bind_zones.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/bind/bind_zones.xml b/config/bind/bind_zones.xml
index 6b1323a5..bef8781b 100644
--- a/config/bind/bind_zones.xml
+++ b/config/bind/bind_zones.xml
@@ -371,7 +371,7 @@
bind_zone_before_form_dest(&amp;$pkg,"bindzone","name","serial");
</custom_php_command_before_form>
<custom_php_validation_command>
- $_POST['serial']=date("9U");
+ $_POST['serial']=(date("U")+ 1000000000);
</custom_php_validation_command>
<custom_delete_php_command>
bind_sync();