Skip to content

Commit

Permalink
Fix error when overriding host
Browse files Browse the repository at this point in the history
Fix and error that prevents Arc from starting when the user overrides
the host to 0.0.0.0.
  • Loading branch information
Joseph Tary committed Dec 4, 2015
1 parent da26424 commit 2403b38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function getLocalIntfAddr(defaultAddr) {

intf.forEach(function(addr) {
if (addr.family === 'IPv4' && addr.internal === false) {
localIntfAddr = alias.address;
localIntfAddr = addr.address;
return false;
}
});
Expand Down

0 comments on commit 2403b38

Please sign in to comment.