update suggess regex

from dnsexit ipUpdate.pl script
This commit is contained in:
sreknob 2018-01-18 21:14:22 -05:00
parent 4962c71116
commit 227f1ed1dd

View file

@ -4753,8 +4753,8 @@ sub nic_dnsexit_update {
} }
last if !header_ok($h, $reply); last if !header_ok($h, $reply);
# Response found, look for 0, 4, or 11 status as success" # Response found
if ($reply =~ /0=|4=|1=/) if ($reply =~ /(\d+)=(.+)/)
{ {
$config{$h}{'ip'} = $ip; $config{$h}{'ip'} = $ip;
$config{$h}{'mtime'} = $now; $config{$h}{'mtime'} = $now;