Reorder some code and combine the nobind test with the lport code to ensure only the needed options are used in any given combination.
Reorder some code and combine the nobind test with the lport code to ensure only the needed options are used in any given combination.