From 971fe438a36d6206994636ef2f51c958f05d1613 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Tue, 23 Jul 2024 00:38:55 -0400 Subject: [PATCH] dnsmadeeasy: Convert string literal to compiled regex for readability. --- ddclient.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddclient.in b/ddclient.in index 0f288c4..a38d70e 100755 --- a/ddclient.in +++ b/ddclient.in @@ -6603,7 +6603,7 @@ sub nic_dnsmadeeasy_update { next if !header_ok($h, $reply); my @reply = split /\n/, $reply; my $returned = pop(@reply); - if ($returned =~ 'success') { + if ($returned =~ qr/success/) { $config{$h}{'ip'} = $ip; $config{$h}{'mtime'} = $now; $config{$h}{'status'} = 'good';