Add function to quickly get addrs with ports
BUGFIX: pass env the right way, because when use os.env way, LC_ALL will
always be overrided in modules/cmdmod.py
local port....
Merge pull request #8349 from hvnsweeting/develop

BUGFIX: pass env the right way, because when use os.env way, LC_ALL will always be overriden in modules/cmdmod.py
Detect what minions are currently connected to the master