make sure alternative ports get converted to int
make sure alternative ports get converted to int
Merge pull request #225 from jlipps/master

fix port typecasting issue