From 0392c5e7257c6e81e9cc56d3089bf5b09454d1b0 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Wed, 24 Jul 2024 16:05:15 -0400 Subject: [PATCH] query_cisco: Delete redundant warning The same message is already logged in `get_ipv4`. --- ddclient.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/ddclient.in b/ddclient.in index 676ce07..c378fcc 100755 --- a/ddclient.in +++ b/ddclient.in @@ -208,8 +208,6 @@ sub query_cisco { my ($h, $asa, $v4) = @_; warning("'--if' is deprecated for '--usev4=cisco%s; use '--ifv4' instead", $asa ? '-asa' : '') if ($v4 && !defined(opt('ifv4')) && defined(opt('if', $h))); - warning("'--fw' is deprecated for '--usev4=cisco%s; use '--fwv4' instead", $asa ? '-asa' : '') - if ($v4 && !defined(opt('fwv4')) && defined(opt('fw', $h))); my $if = ($v4 ? opt('ifv4', $h) : undef) // opt('if', $h); my $fw = ($v4 ? opt('fwv4', $h) : undef) // opt('fw', $h); # Convert slashes to protected value "\/"