From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. f5770b46e465736678766f255b7cc6dc711f8358
Date: Wed, 09 Jul 2014 21:48:27 +0200 [thread overview]
Message-ID: <20140709194827.E61A9208F2@argus.ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1926 bytes --]
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, next has been updated
via f5770b46e465736678766f255b7cc6dc711f8358 (commit)
from 23b810171806939a23c3d5df7758b90dda357116 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f5770b46e465736678766f255b7cc6dc711f8358
Author: Stefan Schantl <stefan.schantl(a)ipfire.org>
Date: Wed Jul 9 21:14:49 2014 +0200
ddns.cgi: Add required code for generating valid nsupdate.info config section.
-----------------------------------------------------------------------
Summary of changes:
html/cgi-bin/ddns.cgi | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
Difference in files:
diff --git a/html/cgi-bin/ddns.cgi b/html/cgi-bin/ddns.cgi
index 51deb03..303f92c 100644
--- a/html/cgi-bin/ddns.cgi
+++ b/html/cgi-bin/ddns.cgi
@@ -675,6 +675,14 @@ sub GenerateDDNSConfigFile {
$password = "";
}
+ # Handle keys for nsupdate.info
+ } elsif (($provider eq "nsupdate.info") && $password) {
+ print FILE "secret = $password\n";
+
+ $username = "";
+ $password = "";
+ }
+
# Write auth details.
if ($use_token) {
print FILE "token = $password\n";
@@ -684,7 +692,7 @@ sub GenerateDDNSConfigFile {
}
# These providers need to be set to only use IPv4.
- if ($provider ~~ ["freedns.afraid.org", "variomedia.de", "zoneedit.com"]) {
+ if ($provider ~~ ["freedns.afraid.org", "nsupdate.info", "variomedia.de", "zoneedit.com"]) {
print FILE "proto = ipv4\n";
}
hooks/post-receive
--
IPFire 2.x development tree
reply other threads:[~2014-07-09 19:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140709194827.E61A9208F2@argus.ipfire.org \
--to=git@ipfire.org \
--cc=ipfire-scm@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox