From 02f776a85144c7335a4ef6c058542e37b506fcc7 Mon Sep 17 00:00:00 2001
From: A. Täffner <darkalex@firesplash.de>
Date: Fri, 22 Jan 2016 13:14:39 -0500
Subject: [PATCH] syntax fixes
---
server/plugins-available/bind_plugin.inc.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/plugins-available/bind_plugin.inc.php b/server/plugins-available/bind_plugin.inc.php
index 1fceb34..01332c7 100644
--- a/server/plugins-available/bind_plugin.inc.php
+++ b/server/plugins-available/bind_plugin.inc.php
@@ -99,7 +99,7 @@
//* Verify that we do not already have keys (overwriting-protection)
//TODO : change this when distribution information has been integrated into server record
if (file_exists($dns_config['bind_zonefiles_dir'].'/dsset-'.$data['new']['origin'].'.')) {
- return $this->soa_dnssec_update(&$data);
+ return $this->soa_dnssec_update($data);
}
//Do some magic...
@@ -109,7 +109,7 @@
$dnssecdata = "DS-Records:\n\r".file_get_contents($dns_config['bind_zonefiles_dir'].'/dsset-'.$data['new']['origin'].'.');
opendir($dns_config['bind_zonefiles_dir']);
- $dnssecdata .= "\n\r------------------------------------\n\r\n\rDNSKEY-Records:\n\r"
+ $dnssecdata .= "\n\r------------------------------------\n\r\n\rDNSKEY-Records:\n\r";
foreach (glob('K'.$data['new']['origin'].'*.key') as $keyfile) {
$dnssecdata .= file_get_contents($keyfile)."\n\r\n\r";
}
--
Gitblit v1.9.1