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@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