svn commit: r257788 - head/usr.sbin/bsdconfig/share/media

Devin Teske dteske at FreeBSD.org
Thu Nov 7 10:40:20 UTC 2013


Author: dteske
Date: Thu Nov  7 10:40:19 2013
New Revision: 257788
URL: http://svnweb.freebsd.org/changeset/base/257788

Log:
  Add some helpful debugging (showing the resolved host address).

Modified:
  head/usr.sbin/bsdconfig/share/media/http.subr

Modified: head/usr.sbin/bsdconfig/share/media/http.subr
==============================================================================
--- head/usr.sbin/bsdconfig/share/media/http.subr	Thu Nov  7 10:36:24 2013	(r257787)
+++ head/usr.sbin/bsdconfig/share/media/http.subr	Thu Nov  7 10:40:19 2013	(r257788)
@@ -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" |
 	(
 		#


More information about the svn-src-all mailing list