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" |
        (
                #
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to