Fix typo in altport code