Applied cisco_fw.diff: Use configured hostname for firewall access with
-use=cisco (closes: #345712). Thanks to Per Carlson for the patch! See http://bugs.debian.org/345712. git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@38 3873ddee-7413-0410-b6c4-c2c57c1ab35a
This commit is contained in:
parent
33dad60c7a
commit
d978f06204
1 changed files with 1 additions and 1 deletions
|
@ -1820,7 +1820,7 @@ sub get_ip {
|
|||
# Protect special HTML characters (like '?')
|
||||
$queryif =~ s/([\?&= ])/sprintf("%%%02x",ord($1))/ge;
|
||||
|
||||
$url = "http://${arg}/level/1/exec/show/ip/interface/brief/${queryif}/CR";
|
||||
$url = "http://".opt('fw')."/level/1/exec/show/ip/interface/brief/${queryif}/CR";
|
||||
$reply = geturl('', $url, opt('fw-login'), opt('fw-password')) || '';
|
||||
$arg = $url;
|
||||
|
||||
|
|
Loading…
Reference in a new issue