Make address-rewriting code more efficient when disabled. #6518
Make address-rewriting code more efficient when disabled. #6518

In ConvertDefaultIPToSocketIP(), hoist the check of
SHARED_PORT_ADDRESS_REWRITING to the top of the function. This lets us
avoid more expensive checks in most situations (only HTCondor-CE sets
this parameter to enable address rewriting).

htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor