summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-01-06 13:01:32 -0500
committerjim-p <jimp@pfsense.org>2012-01-06 13:01:32 -0500
commit980c1c6da3ec989c1cce72a9716ac56f912e4173 (patch)
treede7d3606aa479d2c96df513293f6be04e350f072
parent59bfd36364f8e8481ab1c110235c5367d605b7b8 (diff)
downloadpfsense-980c1c6da3ec989c1cce72a9716ac56f912e4173.zip
pfsense-980c1c6da3ec989c1cce72a9716ac56f912e4173.tar.gz
Fix multiple keys in a file for RFC2136 dyndns updates. Fixes #2068
-rw-r--r--etc/inc/services.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 5bcd756..f329b5a 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -889,7 +889,7 @@ function services_dnsupdate_process($int = "") {
this is dumb - public and private keys are the same for HMAC-MD5,
but nsupdate insists on having both */
$fd = fopen("{$g['varetc_path']}/K{$i}{$keyname}+157+00000.private", "w");
- $privkey .= <<<EOD
+ $privkey = <<<EOD
Private-key-format: v1.2
Algorithm: 157 (HMAC)
Key: {$dnsupdate['keydata']}
OpenPOWER on IntegriCloud