From dafde8becb72ee4ef1557e6f6f23da68b3095589 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sat, 15 Jun 2024 19:12:45 -0400 Subject: [PATCH] Fix erroneous `backupmx` recap check for `dyndns1`, `dyndns2` --- ddclient.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddclient.in b/ddclient.in index ec768e2..473d8e6 100755 --- a/ddclient.in +++ b/ddclient.in @@ -3931,7 +3931,7 @@ sub nic_dyndns2_force_update { info("forcing updating %s because 'mx' has changed to %s.", $host, $config{$host}{'mx'}); $update = 1; - } elsif ($config{$host}{'mx'} && (ynu($config{$host}{'backupmx'}, 1, 2, 3) ne ynu($config{$host}{'backupmx'}, 1, 2, 3))) { + } elsif ($config{$host}{'mx'} && (ynu($config{$host}{'backupmx'}, 1, 2, 3) ne ynu($recap{$host}{'backupmx'}, 1, 2, 3))) { info("forcing updating %s because 'backupmx' has changed to %s.", $host, ynu($config{$host}{'backupmx'}, "YES", "NO", "NO")); $update = 1;