Removed max port hardcode from code.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>