Fix http port set sahipro
This commit is contained in:
parent
64fed72240
commit
4dcf43fe63
|
@ -211,7 +211,7 @@ sub check_options {
|
|||
}
|
||||
|
||||
$self->change_macros(macros => ['warning_status', 'critical_status']);
|
||||
$self->{http}->set_options(%{$self->{option_results}});
|
||||
$self->{http}->set_options(port => $self->{option_results}->{sahi_port}, proto => $self->{option_results}->{sahi_proto});
|
||||
}
|
||||
|
||||
sub decode_xml_response {
|
||||
|
|
|
@ -104,7 +104,6 @@ sub check_options {
|
|||
$self->{output}->option_exit();
|
||||
}
|
||||
|
||||
$options{request}->{port} = $self->get_port_request();
|
||||
$options{request}->{port_force} = $self->get_port();
|
||||
|
||||
$options{request}->{headers} = {};
|
||||
|
|
Loading…
Reference in New Issue