update suggess regex
from dnsexit ipUpdate.pl script
This commit is contained in:
parent
4962c71116
commit
227f1ed1dd
1 changed files with 2 additions and 2 deletions
4
ddclient
4
ddclient
|
|
@ -4753,8 +4753,8 @@ sub nic_dnsexit_update {
|
|||
}
|
||||
last if !header_ok($h, $reply);
|
||||
|
||||
# Response found, look for 0, 4, or 11 status as success"
|
||||
if ($reply =~ /0=|4=|1=/)
|
||||
# Response found
|
||||
if ($reply =~ /(\d+)=(.+)/)
|
||||
{
|
||||
$config{$h}{'ip'} = $ip;
|
||||
$config{$h}{'mtime'} = $now;
|
||||
|
|
|
|||
Loading…
Reference in a new issue