dyndns1: Move else case up a level for readability

This commit is contained in:
Richard Hansen 2024-06-07 17:16:45 -04:00
parent 02c80fdf09
commit 2534375cfd

View file

@ -3758,15 +3758,14 @@ sub nic_dyndns1_update {
warning("SENT: %s", $url) unless opt('verbose');
warning("REPLIED: %s", $reply);
failed("updating %s: %s", $h, $title);
} else {
next;
}
$config{$h}{'ip'} = $ip;
$config{$h}{'mtime'} = $now;
$config{$h}{'status'} = 'good';
success("updating %s: %s: IP address set to %s (%s)", $h, $return_code, $ip, $title);
}
}
}
######################################################################
## nic_dyndns2_examples