From 474cc7658751f502d6b95e7c7768f2fe79f17abf Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sun, 17 Mar 2024 00:25:26 -0700 Subject: [PATCH] Enable `--usev4=cisco` and `--usev4=cisco-asa` These were implemented, but accidentally(?) left out of `%ipv4_strategies` which prevented their use. --- ddclient.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ddclient.in b/ddclient.in index e0e2304..f7d331a 100755 --- a/ddclient.in +++ b/ddclient.in @@ -453,6 +453,8 @@ my %ipv4_strategies = ( 'ifv4' => ": obtain IPv4 from the interface given by --ifv4=", 'cmdv4' => ": obtain IPv4 from the command given by --cmdv4=", 'fwv4' => ": obtain IPv4 from the URL given by --fwv4=", + 'cisco' => ": obtain IPv4 from Cisco FW at the host given by --fwv4= and interface given by --ifv4=", + 'cisco-asa' => ": obtain IPv4 from Cisco ASA at the host given by --fwv4= and interface given by --ifv4=", map({ my $fw = $builtinfw{$_}; $_ => ": obtain IPv4 from $fw->{'name'} at the host or URL given by --fwv4=";