Here's what I've done:
- Enabled Multicasting on the loopback if (
lo0) and my standard en0 interface
- In a terminal window:
circuit start -if lo0 -discover 228.1.1.2:7711
- In a separate terminal window
CIRCUIT_DISCOVER=228.1.1.2:7711 circuit ls /...
In 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 a discover flag before looking at CIRCUIT_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!
Here's what I've done:
lo0) and my standarden0interfaceIn this case,
circuit lssimply 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.godial() func that there's a switch statement that checks for adiscoverflag before looking atCIRCUIT_DISCOVER. Could it be that a default argument is being supplied to-discoverthat is being looked at instead of the env variable?Environment:
Let me know if you need any more info from me. Thanks!