-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Mac OS X) circuit ls command not working with CIRCUIT_DISCOVER #15
Comments
The command-line argument overwrites the environment. Standard convention. On 26 October 2014 16:20, Travis Kaufman notifications@github.com wrote:
|
You are misunderstanding what the original issue opener is saying. In main.go you initialize the The fix for this is to either use the in-built |
Here's what I've done:
lo0
) and my standarden0
interfaceIn this case,
circuit ls
simply hangs.However if I do this:
228.1.1.2:7711 circuit ls -discover '228.1.1.2:7711' /...
it works as expected.
Interestingly, it also works if I do this:
CIRCUIT_DISCOVER=228.1.1.2:7711 circuit ls -discover '' /...
I noticed in
util.go
dial() func that there's a switch statement that checks for adiscover
flag before looking atCIRCUIT_DISCOVER
. Could it be that a default argument is being supplied to-discover
that is being looked at instead of the env variable?Environment:
Let me know if you need any more info from me. Thanks!
The text was updated successfully, but these errors were encountered: