query_cisco: Delete redundant warning
The same message is already logged in `get_ipv4`.
This commit is contained in:
parent
e891f53345
commit
0392c5e725
1 changed files with 0 additions and 2 deletions
|
@ -208,8 +208,6 @@ sub query_cisco {
|
||||||
my ($h, $asa, $v4) = @_;
|
my ($h, $asa, $v4) = @_;
|
||||||
warning("'--if' is deprecated for '--usev4=cisco%s; use '--ifv4' instead", $asa ? '-asa' : '')
|
warning("'--if' is deprecated for '--usev4=cisco%s; use '--ifv4' instead", $asa ? '-asa' : '')
|
||||||
if ($v4 && !defined(opt('ifv4')) && defined(opt('if', $h)));
|
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 $if = ($v4 ? opt('ifv4', $h) : undef) // opt('if', $h);
|
||||||
my $fw = ($v4 ? opt('fwv4', $h) : undef) // opt('fw', $h);
|
my $fw = ($v4 ? opt('fwv4', $h) : undef) // opt('fw', $h);
|
||||||
# Convert slashes to protected value "\/"
|
# Convert slashes to protected value "\/"
|
||||||
|
|
Loading…
Reference in a new issue