Commit ead03019 authored by Dylan Araps's avatar Dylan Araps

Local IP: [Windows] Support multiple interfaces

parent e650f3a9
...@@ -1695,7 +1695,8 @@ get_local_ip() { ...@@ -1695,7 +1695,8 @@ get_local_ip() {
;; ;;
"Windows") "Windows")
local_ip="$(ipconfig | awk -F ': ' '/IPv4 Address/ {printf $2}')" local_ip="$(ipconfig | awk -F ': ' '/IPv4 Address/ {printf $2 ", "}')"
local_ip="${local_ip%\,*}"
;; ;;
"Haiku") "Haiku")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment