Send soa_edit_api so we don't need to worry about serials anymore. Also, add it as a default to the dist config

This commit is contained in:
Mark Schouten 2014-05-26 14:15:55 +02:00
parent 8aa6d386cf
commit a73e3fd1d3
2 changed files with 2 additions and 0 deletions

View file

@ -23,6 +23,7 @@ $templates[] = array(
);
*/
$defaults['soa_edit_api'] = 'INCEPTION-INCREMENT';
$defaults['defaulttype'] = 'Master'; # Choose between 'Native' or 'Master'
$defaults['primaryns'] = 'unconfigured.primaryns'; # The value of the first NS-record
$defaults['secondaryns'] = 'unconfigured.secondaryns'; # The value of the second NS-record

View file

@ -177,6 +177,7 @@ if ($action == "list" or $action== "listslaves") {
} else {
_jtable_respond(null, 'error', "Not enough data: ".print_r($_POST, 1));
}
$vars['soa_edit_api'] = $defaults['SOA-EDIT'];
}
$vars['name'] = $_POST['name'];
$vars['kind'] = $_POST['kind'];