From ebee96b642f30c962f7916a3ed656bb65d337339 Mon Sep 17 00:00:00 2001 From: Devin Teske Date: Thu, 7 Nov 2013 10:40:19 +0000 Subject: [PATCH] Add some helpful debugging (showing the resolved host address). --- usr.sbin/bsdconfig/share/media/http.subr | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/bsdconfig/share/media/http.subr b/usr.sbin/bsdconfig/share/media/http.subr index 2ddb199bae1..74112f6e617 100644 --- a/usr.sbin/bsdconfig/share/media/http.subr +++ b/usr.sbin/bsdconfig/share/media/http.subr @@ -595,6 +595,7 @@ f_media_get_http() local url="$http_path/$file" rx f_dprintf "sending http request for: %s" "$url" + f_dprintf "using nc to connect to: %s:%s" "$host" "$http_port" printf "GET %s HTTP/1.0\r\n\r\n" "$url" | nc -n "$host" "$http_port" | ( #