]> git.ipfire.org Git - ipfire-2.x.git/commit
ddns.cgi: Support hostname details without seperating dots.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 26 Jul 2014 16:26:37 +0000 (18:26 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 7 Aug 2014 19:02:10 +0000 (21:02 +0200)
commit4851bc81f33058d814028ab91f4badf46739f373
tree0810c3cdeac9e7da2de7291c58508fa643afd35e
parenta6df80269bb2aaf10c45658d0d2a7058d8456d9a
ddns.cgi: Support hostname details without seperating dots.

To keep compatiblity with the settings file of the old DDNS update script
(setddns.pl) we keept the storrage of the hostname information in
two parts (hostname and domain) and connected both with a dot to get a valid
FQDN again. OpenDNS and may some other providers do not use a dotted format
for this information, so one of these two values were empty.

We now can handle such cases in a right way.
html/cgi-bin/ddns.cgi