'mon_addr' vs 'public_addr'
Hi all,
does anyone remember the rationale behind not simply relying on 'public_addr' instead of 'mon_addr' for the monitors?
I keep coming back to this, and I keep thinking this must be an artefact of some long-gone era, during which public_addr maybe didn't exist? I tried to backtrace its inception and ended up all the way in af870763 back from 2009, but the commit itself didn't help much.
Any thoughts?
-Joao
Quoted 7 lines · Joao Eduardo Luis
Hi all,
does anyone remember the rationale behind not simply relying on '
public_addr' instead of 'mon_addr' for the monitors?I keep coming back to this, and I keep thinking this must be an artefact of some long-gone era, during which
public_addrmaybe didn't exist? I
Yes.
Quoted 4 lines
tried to backtrace its inception and ended up all the way in
af870763back from 2009, but the commit itself didn't help much.Any thoughts?
It's slightly tricky because we need to make mon addr still work.. but we can move all the docs refer to public_addr instead and make mon_addr override that if it is non-empty.
sage