Skip to content

Commit

Permalink
Change get getipaddr to default to loopback
Browse files Browse the repository at this point in the history
Allows building with no external IP address:

62d0b3d4 introduced a dependency on getipaddr(), which previously raised an error if no
external address was found. This broke bootstrap on a loopback-only network.

closes #5945
  • Loading branch information
ihnorton authored and Keno committed Feb 27, 2014
1 parent 1443ae1 commit 1fa135d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/socket.jl
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ function getipaddr()
end
end
ccall(:uv_free_interface_addresses,Void,(Ptr{Uint8},Int32),addr,count)
error("no active external interfaces")
return ip"127.0.0.1"
end

##
Expand Down

0 comments on commit 1fa135d

Please sign in to comment.