Patching with nic_updateable-warning patch provided by antespi in ticket #2
git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@124 3873ddee-7413-0410-b6c4-c2c57c1ab35a
This commit is contained in:
parent
4a21e0ac53
commit
e0a1283b10
1 changed files with 8 additions and 5 deletions
13
ddclient
13
ddclient
|
@ -2165,11 +2165,14 @@ sub nic_updateable {
|
||||||
|
|
||||||
} elsif (defined($sub) && &$sub($host)) {
|
} elsif (defined($sub) && &$sub($host)) {
|
||||||
$update = 1;
|
$update = 1;
|
||||||
|
} elsif ((defined($cache{$host}{'static'}) && defined($config{$host}{'static'}) &&
|
||||||
} elsif (($cache{$host}{'static'} ne $config{$host}{'static'}) ||
|
($cache{$host}{'static'} ne $config{$host}{'static'})) ||
|
||||||
($cache{$host}{'wildcard'} ne $config{$host}{'wildcard'}) ||
|
(defined($cache{$host}{'wildcard'}) && defined($config{$host}{'wildcard'}) &&
|
||||||
($cache{$host}{'mx'} ne $config{$host}{'mx'}) ||
|
($cache{$host}{'wildcard'} ne $config{$host}{'wildcard'})) ||
|
||||||
($cache{$host}{'backupmx'} ne $config{$host}{'backupmx'})) {
|
(defined($cache{$host}{'mx'}) && defined($config{$host}{'mx'}) &&
|
||||||
|
($cache{$host}{'mx'} ne $config{$host}{'mx'})) ||
|
||||||
|
(defined($cache{$host}{'backupmx'}) && defined($config{$host}{'backupmx'}) &&
|
||||||
|
($cache{$host}{'backupmx'} ne $config{$host}{'backupmx'})) ) {
|
||||||
info("updating %s because host settings have been changed.", $host);
|
info("updating %s because host settings have been changed.", $host);
|
||||||
$update = 1;
|
$update = 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue