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:02:06 -0500
commit8ec0a8bc10c094151be41024c6fbea3defeb5a48 (patch)
tree4eaf5367158229f529a41d85fc563f3dcaea58a3
parent1f3a3ed2bbe5ef8edcdc4102802853913b7b9e29 (diff)
downloadpfsense-8ec0a8bc10c094151be41024c6fbea3defeb5a48.zip
pfsense-8ec0a8bc10c094151be41024c6fbea3defeb5a48.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 c14066f..c49b929 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -1545,7 +1545,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