diff options
author | dteske <dteske@FreeBSD.org> | 2013-11-07 10:40:19 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2013-11-07 10:40:19 +0000 |
commit | a6546392d46b6a6baf0be62b8279bd0a72aac300 (patch) | |
tree | 79358f5a5387ce58ec494e1bab255ab5407a55de | |
parent | 8401fded1717c6e16466fe06262c35775f3a8a3e (diff) | |
download | FreeBSD-src-a6546392d46b6a6baf0be62b8279bd0a72aac300.zip FreeBSD-src-a6546392d46b6a6baf0be62b8279bd0a72aac300.tar.gz |
Add some helpful debugging (showing the resolved host address).
-rw-r--r-- | usr.sbin/bsdconfig/share/media/http.subr | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/bsdconfig/share/media/http.subr b/usr.sbin/bsdconfig/share/media/http.subr index 2ddb199..74112f6 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" | ( # |