summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/bsdconfig/share/media/httpproxy.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdconfig/share/media/httpproxy.subr b/usr.sbin/bsdconfig/share/media/httpproxy.subr
index fad1007..a29bfef 100644
--- a/usr.sbin/bsdconfig/share/media/httpproxy.subr
+++ b/usr.sbin/bsdconfig/share/media/httpproxy.subr
@@ -81,7 +81,7 @@ f_media_set_http_proxy()
hostname="${hostname#\[}"
hostname="${hostname%\]}"
;;
- "["*"]:")
+ "["*"]:"*)
hostname="${hostname#\[}"
port="${hostname#*\]:}"
port="${port%%[!0-9]*}"
OpenPOWER on IntegriCloud