diff options
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index b3d2ae3..82cd1d9 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
@@ -750,7 +750,7 @@ check_http (void) | |||
750 | 750 | ||
751 | /* optionally send the host header info */ | 751 | /* optionally send the host header info */ |
752 | if (host_name) | 752 | if (host_name) |
753 | asprintf (&buf, "%sHost: %s\r\n", buf, host_name); | 753 | asprintf (&buf, "%sHost: %s:%d\r\n", buf, host_name, server_port); |
754 | 754 | ||
755 | /* optionally send any other header tag */ | 755 | /* optionally send any other header tag */ |
756 | if (http_opt_headers_count) { | 756 | if (http_opt_headers_count) { |