beefproject/beef — Issue #305: Console output missing network interfaces 
Author: passbe
Created: 2011-12-10 22:37:18+00:00
State: open

What steps will reproduce the problem?
1. Use a machine with multiple network interfaces
2. Set the http_host to 0.0.0.0 in config.ini
3. Start beef: ruby beef.rb -x

What is the expected output?

It is expected that all the interfaces will be listed in the relevant URLs. Looping through:

--[ Hook URL: http://<interface ip>:3000/hook.js
--[ UI URL: http://<interface ip>3000/ui/panel
--[ Demo URL: http://<interface ip>:3000/demos/basic.html

What do you see instead?
Only on set of interface details is listed and also the local host is listed.

Below is the output from the framework being run on a machine with multiple interfaces:

--[ Hook URL: http://10.2.143.10:3000/hook.js
--[ UI URL: http://10.2.143.10:3000/ui/panel
--[ Demo URL: http://10.2.143.10:3000/demos/basic.html
--[
--[ Hook URL: http://127.0.0.1:3000/hook.js
--[ UI URL: http://127.0.0.1:3000/ui/panel
--[ Demo URL: http://127.0.0.1:3000/demos/basic.html

This may be linked to issue 171.
Google Code Issue: http://code.google.com/p/beef/issues/detail?id=240