Commit 033c9b08 authored by Weibin Sun's avatar Weibin Sun Committed by Robert Ricci
Browse files

Bugfix: missing ':' before port.

parent be9d5d70
......@@ -187,7 +187,7 @@ sub initSNMPSession($) {
sub initRPCSession($) {
my $self = shift;
$self->{CLT} = RPC::XML::Client->new("http://".$self->{NAME}."$RPCPORT");
$self->{CLT} = RPC::XML::Client->new("http://".$self->{NAME}.":$RPCPORT");
if (!$self->{CLT}) {
warn "WARNING: Unable to connect to XML RPC server at $self->{NAME}\n";
return 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment