Fix usage of constant.
Merge pull request #842 from mesosphere/random-port-value-fix

Fix usage of constant.